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
Creating a uniform array in shader and then changing its value in inspector will lock the variable type for some reason
Steps to reproduce
Create a shader with something like uniform vec3[10] whatever;
Add something to the array
Change the array to something else, maybe vec4
Uniform will still show as vec3 in editor
seems to happen with all datatypes though, ive currently got it stuck on int array somehow even though it is clearly a vec4
reloading shader/scene/engine or even changing the variable name doesnt fix it, annoying
Minimal reproduction project
trivial recreation
The text was updated successfully, but these errors were encountered:
I just looked into the scene file text and I think the issue stems from the lack of a PackedVector4Array type. PackedVector3 exists and works fine for vec3 if I edit the scene file to that but I cant make an equivalent edit for vec4
Godot version
4.0 stable
System information
Forward+ renderer, rx470
Issue description
Creating a uniform array in shader and then changing its value in inspector will lock the variable type for some reason
Steps to reproduce
seems to happen with all datatypes though, ive currently got it stuck on int array somehow even though it is clearly a vec4
reloading shader/scene/engine or even changing the variable name doesnt fix it, annoying
Minimal reproduction project
trivial recreation
The text was updated successfully, but these errors were encountered: