Topic was automatically imported from the old Question2Answer platform.
Asked By
JohnHamilton
is it possible to get an array in to Godot Shader language e.g. i want to pipe in an array from gdscript of positions ? and do something with a for loop.
I think the Godot shading language doesn’t support arrays at the moment. You can use a texture but it’s not ideal because some graphics cards have a limited amount of textures they can sample in one shader. It would work though if you don’t have many textures.