a4fe1bc8db
Changed stencil bits to use 0x3 for the IBL Specular pass and 0x80 for the DiffuseGI pass.
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
{
|
|
"Source" : "ReflectionProbeStencil",
|
|
|
|
"RasterState" :
|
|
{
|
|
"CullMode" : "None"
|
|
},
|
|
|
|
"DepthStencilState" :
|
|
{
|
|
"Depth" :
|
|
{
|
|
"Enable" : true,
|
|
"WriteMask" : "Zero",
|
|
"CompareFunc" : "GreaterEqual"
|
|
},
|
|
"Stencil" :
|
|
{
|
|
"Enable" : true,
|
|
"ReadMask" : "0x7F",
|
|
"WriteMask" : "0x7F",
|
|
"FrontFace" :
|
|
{
|
|
"Func" : "Less",
|
|
"DepthFailOp" : "DecrementSaturate",
|
|
"FailOp" : "Keep",
|
|
"PassOp" : "Keep"
|
|
},
|
|
"BackFace" :
|
|
{
|
|
"Func" : "Less",
|
|
"DepthFailOp" : "IncrementSaturate",
|
|
"FailOp" : "Keep",
|
|
"PassOp" : "Keep"
|
|
}
|
|
}
|
|
},
|
|
|
|
"DrawList" : "reflectionprobestencil",
|
|
|
|
"ProgramSettings":
|
|
{
|
|
"EntryPoints":
|
|
[
|
|
{
|
|
"name": "MainVS",
|
|
"type": "Vertex"
|
|
}
|
|
]
|
|
}
|
|
}
|