I tried messing around with the lights a bit, looking at the SpecialFX tutorial and the API, and I was wondering if it's possible to control the range of the light. I mean, is it possible to have a light for which the strength of light cast on an object depends on it's distance to the source? (ie, far away mesh should be darker than close up mesh).
It seems there's only an option for the energy of the light source but the distance to the light makes no difference.
Using lights in Irrlicht
-
- Posts: 67
- Joined: Fri Jan 23, 2004 5:04 am
-
- Posts: 360
- Joined: Tue Feb 10, 2004 2:20 am
- Location: Lubbock, TX
FOV gets ask fairly fequently put light intensity is not really as that much. I think it is because fov is not well documented in the documentation and also has some strange results.
Also the tutorials can't do everything for you. I think the tutorials are very very good for irrlicht when you compare them to other engines(Official tutorials not all the third party tutorials)
Also the tutorials can't do everything for you. I think the tutorials are very very good for irrlicht when you compare them to other engines(Official tutorials not all the third party tutorials)