Hi,
1- How should we calculate the bias matrix ? When doing some tests I realized that the bias matrix should be changed from one scene to another one. Is there any way to calculate it regarding for example the scene size, the light position… ? Or am I obliged to test for each scene which values suit best ?
2- It seems I’d whether use glPolygonOffset or draw back faces to the depth map. I currently use both. If I don’t draw back faces I have plenty of bad shadows. And I don’t really know which values I could give to glPolygonOffset (I currently use 1.1 and 4.0 as said in several tutorials). Any hints on that one too ?