can lightmaped meshes react on dynamic lights?(THEY CAN)
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
can lightmaped meshes react on dynamic lights?(THEY CAN)
hi all irrlichters, I have a dilema wheter lightmaped meshes can react on ingame lights...and if not wheter their lighmap can be disabled so that they will.........doesn't have to be the my3d meshes ,
Last edited by needforhint on Tue Sep 06, 2005 1:21 pm, edited 1 time in total.
what is this thing...
Isn't a lightmapped object simply one that has a lighting effect already applied to it, so the lighting becomes part of the stored texture? In that cause dynamic lights would affect the mesh, but the result would be funny, as the precalculated lighting can not be changed, so basically the result would be the combination a a static light and a dynamic light.
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
Thanks GX for those useful flags, but they seem to not do the trick, I can't even turn the lightmap off by EMT_SOLID, the texs still are visible sort of (but without shadows, that's a fact) and doesn't react to lights still....i use my3d format (and in Zdimitor's examples I sow no light reaction on a lightmaped mesh too)....is there any irrway how I could set a global ilumination for the scene right in the engine? or do exist any material flags setting a shiness or visibility of a texture?
..cause you see..I won't lightmap my scenes outside of irrlicht if they are not able to use irrlicht lights then, couse i am losing the very essence of irrlicht then
..cause you see..I won't lightmap my scenes outside of irrlicht if they are not able to use irrlicht lights then, couse i am losing the very essence of irrlicht then
what is this thing...
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia