I draw a cube using a basic mesh and plain blue materials on each face.
On the front face I am trying to draw text from a canvas 2D texture
When I set white for the canvas background color and black for the text color, the text shows up black properly.
However, as soon as I set the text color as white, the text becomes invisible.
Seems like there is a hidden multiply operation somewhere but I cannot find it
I tried THREE.NoBlending and NormalBlending but it is not working better.
There is no lighting, just a camera and a blue cube with white text.
In the fragment shader 3js matersals calculates color as diffuseColor *= sampledDiffuseColor, therefore if current color of texture point is white, resulting color will the material color. If you want to obtain a white color of the text, you need to flood a canvas with а main color you want use for material, and set the material color to white.