Shadow banding(?)

Hi.

Recently, sometimes when i apply a texture (sometimes a new object, sometimes simply replacing the old texture), i get these banding effects. I don’t see any consistency in when they appear, but once they have, they seem to stick around.

If you have any idea what is causing them, do tell.



Thanks



Edit: They’re using the Lighting material.

Did you try to remove the shadow processor?

PCF filtering can do these kind of artifacts when the surface is parallel to the light direction

You’re right. DIsabling pssm-shadows removed the problem.

It’s not much of a solution, though :stuck_out_tongue:

And how can all those surfaces be parallel to the light direction?

rickard said:
And how can all those surfaces be parallel to the light direction?

According to your shot, the light is coming from the right in a very low angle. so the top and sides of the barrels at some point are almost parallel to the light direction.

What you can try to reduce the artifact is to use PCF4 filtering instead of PCF8, and reduce the edgeThickness to 5.

Our way to smooth shadow edge is not very efficient, we'd need a better way, however nothing comes for free better filtering will probably yield lesser performances....

Allright, i’ll play around with those values a bit.



Thanks, nehon.