fix BasicStencil

refresh2
cosmonaut 2024-03-02 23:10:52 -08:00
parent 0855bf6e26
commit beacd05925
1 changed files with 9 additions and 9 deletions

View File

@ -29,26 +29,26 @@ namespace MoonWorks.Test
pipelineCreateInfo.DepthStencilState = new DepthStencilState
{
StencilTestEnable = true,
StencilState = new StencilOpState
FrontStencilState = new StencilOpState
{
Reference = 1,
WriteMask = 0xFF,
CompareOp = CompareOp.Never,
FailOp = StencilOp.Replace,
}
},
Reference = 1,
WriteMask = 0xFF
};
maskerPipeline = new GraphicsPipeline(GraphicsDevice, pipelineCreateInfo);
pipelineCreateInfo.DepthStencilState = new DepthStencilState
{
StencilTestEnable = true,
StencilState = new StencilOpState
FrontStencilState = new StencilOpState
{
Reference = 0,
CompareMask = 0xFF,
WriteMask = 0,
CompareOp = CompareOp.Equal,
}
},
Reference = 0,
CompareMask = 0xFF,
WriteMask = 0
};
maskeePipeline = new GraphicsPipeline(GraphicsDevice, pipelineCreateInfo);