Original Post
Hi,
So, I thought my cubic shadowmapping was working properly, but after some testing, I found that there's actually sometimes a problem when looking at glancing angles. Not all glancing angles cause the problem.
As an example:

The shadow cast by the cube is wrong. Rotating the scene slightly fixes the problem.
I tried anisotropic filtering just on spec, but it doesn't make much (if any) difference.
Any ideas as to what might be causing this issue?
Thanks,
-G
So, I thought my cubic shadowmapping was working properly, but after some testing, I found that there's actually sometimes a problem when looking at glancing angles. Not all glancing angles cause the problem.
As an example:

The shadow cast by the cube is wrong. Rotating the scene slightly fixes the problem.
I tried anisotropic filtering just on spec, but it doesn't make much (if any) difference.
Any ideas as to what might be causing this issue?
Thanks,
-G