GBear Posted August 3, 2015 Share Posted August 3, 2015 Hi. i wanna uniform array.how can i set it in pixi? Quote Link to comment Share on other sites More sharing options...
xerver Posted August 3, 2015 Share Posted August 3, 2015 Can you be more specific? Are you trying to add an array to a filter? Use one of the type specifiers: https://github.com/pixijs/pixi.js/blob/master/src/core/renderers/webgl/shaders/Shader.js#L229-L424 They are the same as Three.js if you have used that as well, and most of them just mimic the gl command used to upload them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.