Assigning a color to the foreground layer

Hello,
I cannot assign a color to the foreground layer though it works with texture. In the playground below, I am attempting to assign white color to my layer

Please let me know what I am doing wrong
thank you

Do you mean background color ?
pg: https://playground.babylonjs.com/#HKQRMR#1

2 Likes

Thank you, but that is not exactly what I am asking. I know that I can assign a background color to ADT, but I am wondering what color argument in layer’s constructor do. What should I do to see effect of color value that used in the layer’s constructor?

The color is multiplied with the texture, but can not be used with a texture. Wondering what the use case is ?

2 Likes

Got it! That is pretty useful if I want to adjust the texture’s color gamma. Thank you