We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82e4a12 + f3d144b commit 3632b16Copy full SHA for 3632b16
examples/shaders/resources/shaders/glsl100/swirl.fs
@@ -13,8 +13,8 @@ uniform vec4 colDiffuse;
13
// NOTE: Add here your custom variables
14
15
// NOTE: Render size values should be passed from code
16
-const float renderWidth = 800;
17
-const float renderHeight = 450;
+const float renderWidth = 800.0;
+const float renderHeight = 450.0;
18
19
float radius = 250.0;
20
float angle = 0.8;
@@ -43,4 +43,4 @@ void main()
43
vec4 color = texture2D(texture0, tc/texSize)*colDiffuse*fragColor;;
44
45
gl_FragColor = vec4(color.rgb, 1.0);;
46
-}
+}
0 commit comments