We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.alpha.custom_build [ae5668f]
Arch on 5.18.11-arch1-1
See reproduction steps, as it goes through more thoroughly
Make a shader with some working uniforms
shader_type canvas_item; uniform vec3 my_array1[4]; uniform vec3 my_array2[4];
Change one of them to a vec4 array:
uniform vec4 my_array1[4];
Array type changes to PackedFloat32Array which kinda makes sense, but the values are still Vec3
Rename it to my_array without the number and it changes to this:
my_array
Since it's a new variable name, it's pretty much the expected behavior.
Change it back to a vec3 array:
Same variable name so the bug happens. The type changes to PackedVector3Array but the values are still floats.
(Right after step 1) test15.zip
The text was updated successfully, but these errors were encountered:
mat4
Reopening as #76438 was reverted.
Sorry, something went wrong.
I'm still running into this with 4.1.3
i'm running into this on 4.2.1 stable.mono
Successfully merging a pull request may close this issue.
Godot version
v4.0.alpha.custom_build [ae5668f]
System information
Arch on 5.18.11-arch1-1
Issue description
See reproduction steps, as it goes through more thoroughly
Steps to reproduce
Make a shader with some working uniforms
Change one of them to a vec4 array:
Array type changes to PackedFloat32Array which kinda makes sense, but the values are still Vec3
Rename it to
my_array
without the number and it changes to this:Since it's a new variable name, it's pretty much the expected behavior.
Change it back to a vec3 array:
Same variable name so the bug happens. The type changes to PackedVector3Array but the values are still floats.
Minimal reproduction project
(Right after step 1) test15.zip
The text was updated successfully, but these errors were encountered: