Texture applied to CreateRibbon in my code is blackend, whereas the very same snippet in Playground works

Hi there, got some spooky behaviour regarding the brightness of the applied texture.

In my example the wood-texture is nicely depicted: https://www.babylonjs-playground.com/#21VLCN#36

but in my code the texture is darkened: Screenshot (11)

When I change the color of the scene to white (my preferred background) by

scene.clearColor = new BABYLON.Color3(1, 1, 1);

the texture gets almost black.

Any suggestions? It’s totally unexplainable to me.

Lovely greetings, Paul.

It was obvious in hindsight. Just changed in

light = new BABYLON.HemisphericLight(“light”, new BABYLON.Vector3(0, 50, 0), scene);
light.intensity = 0,4;

to

light.intensity = 1;

:shushing_face:

1 Like