----- "HB-GRAL" a écrit : > There seems to be a (maybe only ATI related) bug in fragment shaders. > I > could not find any information about this in the list/forum/bug > tracker. > > Can you please check this: > > Following does not work in default.frag, terrain-default.frag and > mat-anim.frag for some strict OpenGL/GSLS: > > recent code: > > if (!gl_FrontFacing) > n = -n; > > changed to: > > if (n.z < 0.00001) > n = -n; > > This works fine for me here. Can you check this?
Have you seen this : http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=263576 or this : http://lists.apple.com/archives/mac-opengl/2009/Mar/msg00001.html That would confirm your problems. ( I just did google( ati gl_FrontFacing ) BTW ) -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery - album photo http://www.youtube.com/user/fgfred64 Videos ------------------------------------------------------------------------------ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel