diff --git a/Src/Graphics/New3D/R3DFrameBuffers.cpp b/Src/Graphics/New3D/R3DFrameBuffers.cpp index 44632fb..91d4cad 100644 --- a/Src/Graphics/New3D/R3DFrameBuffers.cpp +++ b/Src/Graphics/New3D/R3DFrameBuffers.cpp @@ -317,7 +317,7 @@ void R3DFrameBuffers::AllocShaderWipe() { vec4 colBase = texture2D( texColor, fsTexCoord); - if(colBase == 0.0) { + if(colBase.a == 0.0) { discard; // no colour pixels have been written }