You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.. note:: Be careful when setting shader uniforms from GDScript, no error will
1226
-
be thrown if the type does not match. Your shader will just exhibit
1227
-
undefined behavior.
1228
-
1229
-
.. warning::
1230
-
As with the last note, no error will be thrown if the typing does not match while setting a shader uniform, this unintuitively includes setting a (GDscript) 64 bit int/float into a Godot shader language int/float (32 bit). This may lead to unintentional consequences in cases where high precision is required.
1231
-
1228
+
.. note:: Be careful when setting shader uniforms from GDScript, since no error
1229
+
will be thrown if the type does not match. Your shader will just exhibit
1230
+
undefined behavior. Specifically, this includes setting a GDScript
1231
+
int/float (64 bit) into a Godot shader language int/float (32 bit).
1232
+
This may lead to unintended consequences in cases where high
0 commit comments