Open KoBeWi opened 4 years ago
Just edit vec4() to vec4(1,1,1,1)
Mini_tutorial: vec4(1 - Red, 1 - G,reen, 1 - Blue, 1 - Alpha )
And now we have vec4(1,1,1,1)
UPDATE1: Try the shader_type spatial;
Update2: don't, edit only vec4()
On master it says COMMA instead of QUESTION.
Now it also says "found: COMMA" in 3.4 RC 1.
But that seems wrong too I guess, what it should find is a closing parenthesis where it expected an expression. The overall formulation of the error could maybe also be improved, it's a bit abrupt. CC @Chaosus
Just a syntax error is good to replace it? eg shadertoy have that:
Godot version:
3.2.3
Steps to reproduce:
void fragment() { COLOR = vec4(0, 0, 0, ); }