Files
o3de/Gems/Atom/Feature/Common/Assets/Shaders/Depth/DepthPassTransparentMax.shader
T
2021-04-23 09:43:40 -07:00

18 lines
466 B
Plaintext

{
"Source" : "./DepthPass.azsl",
"RasterState": { "CullMode": "None" },
"DepthStencilState" : {
// Note that we assuming reversed depth buffer, which normally means we
// are rendering with GreaterEqual. But in our case we want to render the maximum (furthest) values from the camera.
"Depth" : { "Enable" : true, "CompareFunc" : "LessEqual" }
},
"CompilerHints" : {
},
"DrawList" : "depthTransparentMax"
}