diff --git a/plant-eyes/shaders/toon.frag.glsl b/plant-eyes/shaders/toon.frag.glsl index 3b5caca..cd0c490 100644 --- a/plant-eyes/shaders/toon.frag.glsl +++ b/plant-eyes/shaders/toon.frag.glsl @@ -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;