Commit 509107fb authored by RSDuck's avatar RSDuck
Browse files

set instead of or stencil buffer for left edges

parent 6f91bcc3
......@@ -820,7 +820,7 @@ void SoftRenderer::RenderShadowMaskScanline(RendererPolygon* rp, s32 y)
continue;
if (!fnDepthTest(DepthBuffer[pixeladdr], z, dstattr))
StencilBuffer[256*(y&0x1) + x] |= 0x1;
StencilBuffer[256*(y&0x1) + x] = 1;
if (dstattr & 0x3)
{
......
Markdown is supported
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