Overlit mesh

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
StickyBit
Posts: 94
Joined: Mon Jul 05, 2004 3:40 am
Location: Sønderup, Denmark
Contact:

Overlit mesh

Post by StickyBit »

Just upgraded an older project from Irrlicht 1.5 to Irrlict 1.8.5, and got some strange behaviour with one certain mesh getting heavily overlit, by a dynamic lightsource. Is there some way of setting the light sensitivity of mesches?

Image
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Overlit mesh

Post by CuteAlien »

What kind of material are those meshes using? One of the default materials or some shader? I don't remember changes since 1.5, but maybe something with light-distance calculation changed. I know those were/are not identical in DX and OGL, but not sure if they changed behavior in those versions. But I don't remember them causing overlighting as default materials usually just make the texture be be fully visible. Overlighting is in my experience only happening with shader, but maybe just something I've not run into yet.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply