HB-GRAL schrieb: > HB-GRAL schrieb: >> HB-GRAL schrieb: >>> Tatsuhiro Nishioka schrieb: >>>> Hi, >>> Thank you Tat! >>> >>> Comment out all the alpha in >>> >>> default.vert >>> mat-anim.vert >>> model-default.vert >>> reflect.vert >>> >> Just realized that the problem might be >> >> constantColor = gl_FrontLightModelProduct.sceneColor >> + gl_FrontMaterial.ambient * gl_LightSource[0].ambient; >> >> and *not* alpha. >> >> -Y. >> > > All what I can say at the moment is that I probably have a problem with > gl_Color and vec4 in the recent shaders with my very very old card on my > very very old computer. When I comment out alpha or diffuse definitions > in default/mat-anim/model-default/reflect.vert the code gives me > "varying ... not written" and gl_link errors of course - but all the > other shaders like landmass/crop/clouds/bump are still working fine as I > can see. Looks like vec3 diffuse is working, vec4 diffuse produce > problems. I wonder if this is only related to my rare ati and very rare > OSX or if some others have the same problems with recent cvs effects and > shaders. > > Thanks- Y- >
It is not the alpha nore diffuse confuse. I guess that my osx-ati-radeon-system does not handle what recent code does in SimGear with overriding OpenGL color etc. Just for my understanding: Is this new in FG to link and handle some of the effects directly via SimGear? (I am willing to own that I do not understand most part of this hack - its just because I never thought that I have to look into SimGear to find Effects/material-diffuse i.e.). Unfortunately I have to disable the "programs" in terrain-default/model-default/material-off/material-diffuse.eff at the moment - all the rest seems to work (osx 10.5.8, ati/radeon x1600, osg 2.9.8!). Thanks- Y. ------------------------------------------------------------------------------ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel