mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-22 15:19:18 -05:00
Remove trailing spaces
This commit is contained in:
@ -21,12 +21,12 @@ void main()
|
||||
colors[0] = vec3(0.0, 0.0, 1.0);
|
||||
colors[1] = vec3(1.0, 1.0, 0.0);
|
||||
colors[2] = vec3(1.0, 0.0, 0.0);
|
||||
|
||||
|
||||
float lum = (texelColor.r + texelColor.g + texelColor.b)/3.0;
|
||||
|
||||
|
||||
int ix = (lum < 0.5)? 0:1;
|
||||
|
||||
|
||||
vec3 tc = mix(colors[ix], colors[ix + 1], (lum - float(ix)*0.5)/0.5);
|
||||
|
||||
|
||||
finalColor = vec4(tc, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user