Commit 9ec93a5a authored by Isaak Lim's avatar Isaak Lim
Browse files

enable culling for the RenderObject of the Plane Node in order to avoid z-fighting artifacts

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bdd509b7
......@@ -436,6 +436,9 @@ getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::S
ro.blendSrc = GL_SRC_ALPHA;
ro.blendDest = GL_ONE_MINUS_SRC_ALPHA;
// Enable culling in order to avoid z-fighting artifacts
ro.culling = true;
// Just draw the quads here ( front )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment