Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Does radiosity work with skylight (directional light)? From reading online it sounds like it was intended to work with point lights but I would really like to make it work with skylight if possible.

If I did misunderstand how would I make this work with skylight?

The form factor attenuates for distance, area, and orientation of the patches. It doesn't seem like that would all apply in skylight.

I have a primitive implementation of radiosity in the cpu using ray casting.

Any help is greatly appreciated.

share|improve this question

3 Answers 3

Radiosity should work with any kind of light source; it's just a matter of how you define the first bounce.

After the original light sources have been considered, all the surfaces that have been hit by light rays become light sources for the second pass, and so on.

While I haven't implemented radiosity myself, I don't see why skylight/directional light wouldn't work on the first pass.

share|improve this answer

Actually skylight is one of the best applications. Point lights or spot lights are not the best fit for radiosity. Directional lights of area lights are just great for it (because they are not changing the complexity of render).

Also read something about atmospheric scattering and its approximations to have nice sky ;).

share|improve this answer

In radiosity, you don't usually have "point lights". Its based on radiant heat transfer between polygon faces (except we're talking about the visible spectrum of radiation instead of infrared). So every light source must be an area light source in radiosity.

You can have a really small point sphere of light.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.