removing .f for a float in shader

This commit is contained in:
samcake 2017-12-11 09:26:43 -08:00
parent d1cd9f5c6b
commit b4f7433042

View file

@ -80,7 +80,7 @@ void main(void) {
float touch = (outlinedDepth < FAR_Z) ? 1.0 : 0.0; float touch = (outlinedDepth < FAR_Z) ? 1.0 : 0.0;
sumOutlineDepth = max(outlinedDepth * touch, sumOutlineDepth); sumOutlineDepth = max(outlinedDepth * touch, sumOutlineDepth);
intensity += touch; intensity += touch;
weight += 1.f; weight += 1.0;
} }
uv.x += deltaUv.x; uv.x += deltaUv.x;
} }