Problematic Lighting in Irrlicht.NET

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
thomascheah
Posts: 77
Joined: Sat Jul 08, 2006 5:55 am
Location: Cyberjaya, Malaysia

Problematic Lighting in Irrlicht.NET

Post by thomascheah »

Hi,

I am quite new to Irrlicht Engine, and I had been playing around with it for 3 days. I found that there is some annoying bugs regarding the lighting in the engine, such as

1. No way to set directional lights. Although the C++ implementation does directional light type in SLight structure. The equivalent Light structure in its .NET implementation does not have this.

2. It seems that the point light settings is a bit weird. I created a cube at (0, 0, 0), and I place a point light at (100, 0, 0) with radius of 50 points. The cube was lit up too much until it is like white for all its six sides. I tried to move the light farther, it seems that the light intensity only looks more realistic as the light are at (5000, 0, 0).

3. I noticed that the ambient color and diffuse color on the object material do not work. No matter what I set, it does not have any effect. Thus, it seems like I have no way to change the color of a geometry. The emissive color works, but that's not something that I want, i.e. emissive color does not react to lights.

Am I the only one that encounter this? I would appreciate if anyone can share their insights on these to me. Thanks in advance.
Locked