Closed ralucado closed 4 years ago
The standard GLSL initalizer syntax supports uniform default value initialization on declariation like so: uniform vec3 initialUniform = vec3(1.0, 0.0, 0.0); However this parser throws a "syntax error" when this is attempted.
uniform vec3 initialUniform = vec3(1.0, 0.0, 0.0);
Yes this is a legitimate bug.
Awesome!
The standard GLSL initalizer syntax supports uniform default value initialization on declariation like so:
uniform vec3 initialUniform = vec3(1.0, 0.0, 0.0);
However this parser throws a "syntax error" when this is attempted.