SvenFrankson Posted October 17, 2017 Share Posted October 17, 2017 Hi, We have a few questions concerning the cameraExposure and cameraContrast properties on PBRMaterial. Have these properties been lost during the update to 3.1 ? It would be something like this : https://playground.babylonjs.com/#JRCQTE#2 Here, the spheres have the same contrast and exposure. I think it was not the case before. Also, we love the new workflow for PBR (specular glossy and metallic roughness), but it does not expose this property at all. Is there a way to achieve this kind of result with the new workflow ? note : we kinda did it through material["_imageProcessingConfiguration"].contrast = v; But it tends to cause WebGL warnings (INVALID_VALUE: uniformBlockBinding: invalid uniform block index) and randomly overexpose our scene. Thanks a lot for your help ! We'd take any info you have about this properties, Best regards, Quote Link to comment Share on other sites More sharing options...
mr_pinc Posted October 17, 2017 Share Posted October 17, 2017 imageProcessingConfiguration is now an object that is a member of the 'scene' object. You can access contrast and exposure there. Quote Link to comment Share on other sites More sharing options...
SvenFrankson Posted October 17, 2017 Author Share Posted October 17, 2017 Indeed, it's a much better way to access this property, thanks ! 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.