Textures on b3d mesh disappears

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
gauravjha
Posts: 26
Joined: Thu Jan 24, 2013 4:52 am

Textures on b3d mesh disappears

Post by gauravjha »

Hi,

I have some 3D building in my scene, which are built as b3d meshes. When the background for the scene is black, the meshes show the original textures, but when the background color is changed, the buildings become white with certain patches on the mesh take the background color?

Can someone explain what can be the problem and, if possible, the solution to it as well.

Regards,
Gaurav Jha
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: Textures on b3d mesh disappears

Post by mongoose7 »

Have you enabled blending?
gauravjha
Posts: 26
Joined: Thu Jan 24, 2013 4:52 am

Re: Textures on b3d mesh disappears

Post by gauravjha »

No. I haven't enabled blending. is it required?
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: Textures on b3d mesh disappears

Post by mongoose7 »

No, but if lightening the background also lightens the objects, it looks as if the background colour is being added to the object colour.
Post Reply