- Home /
Arrays in shaders
Hello, I am trying to make a shader in Unity and I have come across an issue with an array. Is it possible to use .length to calculate how long an array is or do I have to do it another way? Currently I keep getting an index out of bounds error and I think that might be the cause.
Comment
Your answer
Follow this Question
Related Questions
Circular Progress Bar iOS Issue with value 0.0f 0 Answers
Checking array fails each time. But change anything and resave and it works until unity closes...... 1 Answer
Unity Array.Length Bug/Problem? 1 Answer
Check if no webcam 0 Answers
Multiple tex2D commands in fragment shader needed, is there a workaround? 0 Answers