MinZe Posted September 3, 2018 Share Posted September 3, 2018 Hi! I want to add an uniform to the default pbr, because I've modified a little bit (3 lines) the default shader. I have a way to modify the uniform value from the material itself, but I can't add an uniform... Is there a way? Or I have to set up a custom shaderMaterial and put all the uniforms just as babylon does? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 4, 2018 Share Posted September 4, 2018 I'm afraid that you will need to create your own shaderMaterial (you can still copy /paste shader code ) 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.