shader fix

This commit is contained in:
Dave Griffiths 2009-07-30 16:08:51 +01:00
parent ef19956914
commit a4c5baf5ad

View file

@ -15,10 +15,10 @@ void main()
float OutlineWidth=0.4;
vec4 MidColour=gl_FrontMaterial.diffuse;
vec4 HighlightColour=MidColour*2.0f;
vec4 ShadowColour=MidColour*0.5f;
HighlightColour.a=1.0f;
ShadowColour.a=1.0f;
vec4 HighlightColour=MidColour*2.0;
vec4 ShadowColour=MidColour*0.5;
HighlightColour.a=1.0;
ShadowColour.a=1.0;
float lambert = dot(l,n);
vec4 colour = MidColour;