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-




------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to