Files
Narration-NoGeneratedLevel-…/data/materials/shadows.material
T
2026-03-08 15:37:55 -05:00

98 lines
2.3 KiB
Plaintext

{
"shadow_front": {
"states": [
"StencilWrite",
"DisableColorWrite",
"DisableDepthWrite",
"EnableStencilTest"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/flat_white.fragment",
"frontFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"backFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"stencilRef": 0,
"stencilReadMask": 255,
"stencilWriteMask": 1
},
"shadow_back": {
"states": [
"StencilWrite",
"DisableColorWrite",
"DisableDepthWrite",
"InvertCulling",
"EnableStencilTest"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/flat_white.fragment",
"frontFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"backFace": {
"stencilFunc": "Always",
"stencilFailOp": "Keep",
"stencilDepthFailOp": "Keep",
"stencilPassOp": "Replace"
},
"stencilRef": 1,
"stencilReadMask": 255,
"stencilWriteMask": 1
},
"shadow_overlay": {
"states": [
"DisableDepthTest",
"DisableCulling",
"Blending",
"EnableStencilTest"
],
"vertexShader": "shaders/color.vertex",
"fragmentShader": "shaders/color_ex.fragment",
"frontFace": {
"stencilFunc": "Equal",
"stencilPass": "Replace"
},
"backFace": {
"stencilFunc": "Equal",
"stencilPass": "Replace"
},
"stencilRef": 1,
"stencilReadMask": 255,
"stencilWriteMask": 0
},
"water_hole": {
"states": [
"DisableColorWrite"
],
"vertexShader": "shaders/position.vertex",
"fragmentShader": "shaders/flat_white.fragment"
}
}