Thema Posted September 27, 2017 Share Posted September 27, 2017 Hello, is it possible to create a PBR Gradient Material? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 27, 2017 Share Posted September 27, 2017 Hey Why PBR? What do you want to change to the current gradient material? Quote Link to comment Share on other sites More sharing options...
Thema Posted September 27, 2017 Author Share Posted September 27, 2017 In my scene I have 4 meshes, 3 of them have a PBR Material. I need to render the 4th with a gradient effect. When i use the gradient material the 4th mesh is not rendered with the same values of light as the other ones because the PBR Material is using the environment reflection texture and the gradient material is not. This is the playground:https://www.babylonjs-playground.com/#JE9VBX Thanks for your help! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 27, 2017 Share Posted September 27, 2017 Ok gotcha I would say the best way would be to update the current pbr shaders to output gradient Quote Link to comment Share on other sites More sharing options...
Thema Posted September 29, 2017 Author Share Posted September 29, 2017 I will give a try and let you know. 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.