summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_custom_uniform.data
diff options
context:
space:
mode:
authorRay San <[email protected]>2017-10-20 18:24:50 +0200
committerRay San <[email protected]>2017-10-20 18:24:50 +0200
commita29365ff2a4e597bf6cb046ea6d51bfa09e1df42 (patch)
treeccfdee66ea672a6094167ff0de67a30028302a91 /examples/web/shaders/shaders_custom_uniform.data
parent7447deed40f1deabee659155a30b2d6aa454dafd (diff)
downloadraylib.com-a29365ff2a4e597bf6cb046ea6d51bfa09e1df42.tar.gz
raylib.com-a29365ff2a4e597bf6cb046ea6d51bfa09e1df42.zip
Updated all web examples for raylib 1.8
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;