MeshRenderer.setInstancedAttribute Issue
Cocos
MARCH 22, 2023
I’m attempting to set an instancedAttribute color in a shader in order to tint an instanced mesh without breaking batching. The end effect is that the color is black, there are no compile errors on the shader, leading me to think that setInstancedAttribute is not setting the variable. link] In my.ts link] In my.ts
Let's personalize your content