shader fix
This commit is contained in:
parent
ef19956914
commit
a4c5baf5ad
1 changed files with 4 additions and 4 deletions
|
@ -15,10 +15,10 @@ void main()
|
||||||
float OutlineWidth=0.4;
|
float OutlineWidth=0.4;
|
||||||
|
|
||||||
vec4 MidColour=gl_FrontMaterial.diffuse;
|
vec4 MidColour=gl_FrontMaterial.diffuse;
|
||||||
vec4 HighlightColour=MidColour*2.0f;
|
vec4 HighlightColour=MidColour*2.0;
|
||||||
vec4 ShadowColour=MidColour*0.5f;
|
vec4 ShadowColour=MidColour*0.5;
|
||||||
HighlightColour.a=1.0f;
|
HighlightColour.a=1.0;
|
||||||
ShadowColour.a=1.0f;
|
ShadowColour.a=1.0;
|
||||||
|
|
||||||
float lambert = dot(l,n);
|
float lambert = dot(l,n);
|
||||||
vec4 colour = MidColour;
|
vec4 colour = MidColour;
|
||||||
|
|
Loading…
Reference in a new issue