[fixed]Bug with "per pixel lighting" or even bump

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
scippie
Posts: 26
Joined: Sat Oct 13, 2007 3:35 pm
Location: Belgium
Contact:

[fixed]Bug with "per pixel lighting" or even bump

Post by scippie »

Edit: using irrlicht 1.4 beta

I was trying to recreate the effect of the rotating planet (tutorial 11) in my test project and it seems that there is a lighting problem when the bump map is added.

To test if this wasn't my fault, I adapted tutorial 11 so that the lights no longer move (commented code below // add fly circle animator to light 1 and code below // add fly circle animator to light 2) so that the only animation is the planet rotating.

What you see there is wrong, the lighting on the planet is rotating, while all lights are standing still. Without the bump map, you don't have this problem.

Edit: Remove the transparency to see the problem better.

In my test project, the planet is rotated 30 degrees on it's Z-axis, and I think the lighting problem is worse there.

Please correct me if this is not a bug but something I'm just not aware of!
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Image

Image

Fixed :D
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
zillion42
Posts: 324
Joined: Wed Aug 29, 2007 12:32 am
Location: Hamburg, Germany

Post by zillion42 »

thx a lot Blindside, btw.
That bugged me a lot and it's the typical and obvious things people will find when using the engine, so great work for the community awell !
THX
Post Reply