Sunlight or Global Illumination?

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
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Sunlight or Global Illumination?

Post by afecelis »

Hey guys, is there a way of adding a sunlight type? Or adding global illumination when using dynamic lights?

so far I'm adding my lights directly in Irrlicht but if my model is set "true" for EMF LIGHTING, I get shadows from each of the light sources and shadows become a mess! (they get all mixed together)

Besides that, if one of the lights is animated then I get a major dropdown in FPS performance.
Is there a way of having only 1 light cas shadows and use the others as fill non-casting lights?

Is there a way of iluminating a map with dynamic lights (and not using lightmaps, I'm trying to depend the less possible from Q3 levels) and get it completely lit?

mmmmmmmmmhhhhhhh? scratching head
Image
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Post by thesmileman »

To do something like sunlight you would need a direct light. I know the sun is an omni type of light but it is so far away that it behaves like a direct light on earth. Unless i am mistaken doesn't Irrlicht only have omni lights? if that is the case(Which I am not entirly sure it is) then you would have to do the lighting yourself in opengl or directx.

If you simply do not want to use Q3 levels for the lightmaps or lightmaps at all you could set the lights up in a modeling program and then burn the map into the texture directly.
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

you're absolutely right!

3dsmax has a texture baking function. I know Cshop has got a light mapper but I don't know how to merge together the 2 .x files it exports, and there's Giles which seems to be a nice lightmapper. On the other hand, Deled is about to support lightmapping but I guess in the Pro version.

gotta play around with the options there are. Damn Q3 lightmapping is good!

there should be an alternative way of achieving similar results!!! arghhhhh


afecelis moans in endless frustration!
Image
Post Reply