summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_custom_uniform.data
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/shaders/shaders_custom_uniform.data')
-rw-r--r--examples/web/shaders/shaders_custom_uniform.data5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/web/shaders/shaders_custom_uniform.data b/examples/web/shaders/shaders_custom_uniform.data
index 6a4dab6..3aaa405 100644
--- a/examples/web/shaders/shaders_custom_uniform.data
+++ b/examples/web/shaders/shaders_custom_uniform.data
@@ -60426,8 +60426,9 @@ uniform vec4 colDiffuse;
// NOTE: Add here your custom variables
-const float renderWidth = 800.0; // HARDCODED for example!
-const float renderHeight = 480.0; // Use uniforms instead...
+// NOTE: Render size values should be passed from code
+const float renderWidth = 800;
+const float renderHeight = 450;
float radius = 250.0;
float angle = 0.8;