texture mapping really dark

whenever i use my function to load a bmp file to use as a texture map the entire display gets really dark, but when i comment out that call everything looks normal. any ideas why this would happen?

Hi there!

In general, if you use a texture on an object the "modulate blending§ is used.

That means if you have a dark texture, the resulting output will be even darker.

I hope that gives you the right direction.

Kind regards,


May the vector be with you!

I’ve got a similar problem. When I put texture mapping on the background of my animation, I lost all my shading. All my objects are dark grey.