I'm new to using shaders, and i can't figure out how to define an array in shaders. I just want to define an array of floats or halfs. I managed to DECLARE one, but that's as far as i got. I could barely find any information on Google.
Any help would be appreciated.
↧