SvenFrankson Posted November 30, 2017 Share Posted November 30, 2017 Hi, It seems like in the GlossySpecular workflow, the values of diffuseColor and diffuseTexture are not multiplied together. Then, if you wan't a material with a quite saturated color, like Adding a texture with this green is not the same as setting this green as the diffuseColor. Sample playground is here : http://playground.babylonjs.com/indexstable#6DDR9C#1 Is there a configuration for the PBR Material to get the result we see with a monochromatic texture, without using any texture ? Thanks a lot ! Have a nice day, Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 30, 2017 Share Posted November 30, 2017 You need to convert your color to linearSpace because factors or static colors are meant to be linear whereas texture works in gamma space. Little Sample: http://playground.babylonjs.com/indexstable#6DDR9C#2 First is standard (no gamma/linear space in there) Second is PBR flat color (using the gamma color in a linear space input) Third highlights the PBR multiplication 4 uses the texture (flat color in gamma space) 5 uses the flat color only but in linear space for a linear space input Hope that helps SvenFrankson 1 Quote Link to comment Share on other sites More sharing options...
SvenFrankson Posted December 1, 2017 Author Share Posted December 1, 2017 Indeed it helps. Once again, thanks a lot ! 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.