Opened 12 years ago

Closed 11 years ago

#1203 closed defect (fixed)

Shadow related visual artifacts

Reported by: historic_bruno Owned by:
Priority: Should Have Milestone: Alpha 12
Component: Core engine Keywords: renderer graphics
Cc: Patch:

Description

Example: http://i.imgur.com/TAZdt.jpg

When the sun is at low angles and shadows are enabled, there are faint box-shaped artifacts on the terrain. They change with the camera orientation, you might see them clearly or not at all. They are most easily noticed in actor viewer, because the terrain is white, but also visible if you paint a lighter colored terrain in the normal game view.

Change History (3)

comment:1 by historic_bruno, 12 years ago

Keywords: renderer,graphics → renderer graphics

Referred to as "shadow acne" in this article. Solutions:

  • bounds on the near plane and the far plane for the light space view frustum should be calculated as tightly as possible
  • slope scale-based depth bias and other types of bias are other solutions used to mitigate shadow acne (which we do with a fixed bias, but maybe we can improve our method?)

comment:2 by historic_bruno, 11 years ago

Milestone: BacklogAlpha 12

Resolving as fixed by r12884. Though the above suggestions might be improvements, I can no longer reproduce the visual bug thanks to myconid's patch.

comment:3 by historic_bruno, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.