I'm still working on my 3D engine (ok it's been a long while now).
I hit a problem with mirrors, in correct shadowing using DOOM III gobal illumination system.
With a light, a mirror and an object, the object being between the light and the mirror.
You have photons hitting the object and 'casting' shadows, this shadow zone is mirrored, you also have a shadow cast by photons bouncing from the mirror. That is, for one light you have 2 shadow volumes.
The question is : Do anyone know how to manage this, or how DOOM III handles mirrors (stencil or rendertexture) ?
I hit a problem with mirrors, in correct shadowing using DOOM III gobal illumination system.
With a light, a mirror and an object, the object being between the light and the mirror.
You have photons hitting the object and 'casting' shadows, this shadow zone is mirrored, you also have a shadow cast by photons bouncing from the mirror. That is, for one light you have 2 shadow volumes.
The question is : Do anyone know how to manage this, or how DOOM III handles mirrors (stencil or rendertexture) ?