Jump to content

How to get saturated colors with PBRSpecularGlossy ?


Recommended Posts


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,

Link to comment
Share on other sites

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:


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

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...