mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix implicit operand because GLSL is a goof or such
This commit is contained in:
parent
33152ee6fa
commit
70bcf59bd6
1 changed files with 1 additions and 1 deletions
|
|
@ -666,7 +666,7 @@ static INT32 shader_leveltime = 0;
|
|||
GLSL_DOOM_COLORMAP \
|
||||
GLSL_DOOM_LIGHT_EQUATION \
|
||||
"void main(void) {\n" \
|
||||
"float z = (gl_FragCoord.z / gl_FragCoord.w) / 2;\n" \
|
||||
"float z = (gl_FragCoord.z / gl_FragCoord.w) / 2.0;\n" \
|
||||
"float a = -pi * (z * freq) + (leveltime * speed);\n" \
|
||||
"float sdistort = sin(a) * amp;\n" \
|
||||
"float cdistort = cos(a) * amp;\n" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue