Lightmap problem

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Handle
Posts: 19
Joined: Tue Jul 13, 2004 2:00 pm

Lightmap problem

Post by Handle »

I've been having trouble with Irrlicht's lightmaps for quite a while now, a search of the forum has proved fruitless so I hope someone can help or point me in the right direction.

This is a picture of the problem I am getting:
Image

As you can see the lightmap detail is messed up, I think this is caused by the program running in 16bit mode even though I specify 32 when creating the application. The problem occurs when I am using either the DirectX 8 or 9 renderers (on any graphics hardware) OR using the OpenGL renderer on ATI graphics hardware. The problem doesn't occur on non-ATI hardware using the OpenGL driver.

Any ideas?
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

driver->setTextureCreationFlag(irr::video::ETCF_ALWAYS_32_BIT,true);
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Guest

Post by Guest »

bal wrote:driver->setTextureCreationFlag(irr::video::ETCF_ALWAYS_32_BIT,true);
Cheers bal, I'll try that now.
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Re: Lightmap problem

Post by etcaptor »

Handle wrote: The problem doesn't occur on non-ATI hardware using the OpenGL driver.
Any ideas?
If you use ATI hardware with opengl, check optimaze for quality option in advanced driver setings. There are irrlicht implementation of that, try it also.
Post Reply