Shader array properties
Cocos
MARCH 25, 2024
How can we pass an array to a shader via setProperty? I see on some documentation that array is available now, but the only topic I found about shader array is this one, which is quite old. How to make a color array property for a shader? Check the code sample and the image for a reference.
Let's personalize your content