GERDE Posted May 11, 2016 Share Posted May 11, 2016 Hello everybody, I have a color rendering problem. When I add a texture to my box ( text ) , the color of the box turns dark . But when I remove the texture color is respected. I would just write a black text on my box and the texture around my box respects the original color With texture (text): http://www.babylonjs-playground.com/#INTPO Without texture: http://www.babylonjs-playground.com/#INTPO#1 Good day Quote Link to comment Share on other sites More sharing options...
Kesshi Posted May 11, 2016 Share Posted May 11, 2016 like this?: http://www.babylonjs-playground.com/#INTPO#2 You need to create a texture with white background and black text. In the drawText call i just changed the font color to black and used a white clear color. Wingnut and GERDE 2 Quote Link to comment Share on other sites More sharing options...
GERDE Posted May 11, 2016 Author Share Posted May 11, 2016 Thanks Kesshi !!!! This is absolutely what I wanted ! 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.