Today i finally managed to make shadow mapping working with the skybox.
All the other problems i had are still there: Peter panning, black artifacts, bad acne on little geometry, shadow casted by lights and so on, but the main problem is finally gone and that is a good news.
In the picture you can see a scene with a sky box and geometry casting shadows.
The shadows are only from directional light, probably i'll use shadow volumes for the point light because shadow map is not a good options.
For spotlights...well shadow mapping would be good i think, but i've never implemented them in the first place, i'll need to do that sooner or later

Nessun commento:
Posta un commento