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 ee8b70e + b757d40 commit 82dc5e3Copy full SHA for 82dc5e3
tutorials/shaders/shader_reference/shading_language.rst
@@ -86,6 +86,14 @@ Most GLSL ES 3.0 datatypes are supported:
86
| | Only supported in Forward+ and Mobile, not Compatibility. |
87
+----------------------+---------------------------------------------------------------------------------+
88
89
+.. warning::
90
+
91
+ Local variables are not initialized to a default value such as ``0.0``. If
92
+ you use a variable without assigning it first, it will contain whatever
93
+ value was already present at that memory location, and unpredictable visual
94
+ glitches will appear. However, uniforms and varyings are initialized to a
95
+ default value.
96
97
Comments
98
~~~~~~~~
99
0 commit comments