Back-face artifacts

Posted on April 29, 2008. Filed under: Uncategorized |

If the grid of the water surface gets into motion, alpha blending can cause new artifacts. The main problem is, that overlapping triangles of the water surface are getting blended together, and depending on the an place and on the number of them, the waves get stripy. Even the back side of the triangles can be rendered, as visualized on the next figure.

Blending artifacts

The beam intersects a triangle facing away from the camera (the second red line), and these areas are unrealistic darker, than surrounding triangles. There exist some solutions which try to handle the effect by adjusting the normal vectors toward the camera, but after several futile attempt I decided to blend reflection and refraction in the shader code without the usage of alpha blending.


Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: