- Home /
Accessing shader arrays from script?
Hi,
I'm trying to implement my own specialised form of skinning on the GPU, and I'm wondering how I can write to array variables declared in a shader from C#.
For example, it is possible to use Shader.SetGlobalMatrix to access a single matrix within the shader, but how can I access an array of them?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612163938im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to use array in cg shader 1 Answer
Using Array of Structs in Shader 1 Answer
Add shaders into Array based on Material Array 0 Answers
GLSL shader - array of uniform const 0 Answers
Change all materials then return the old materials? 0 Answers