| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- #include "$ENGINE$/ShadowProjectionCommon.bslinc"
- technique ShadowProjectStencil
- {
- mixin ShadowProjectionCommon;
- depth
- {
- write = false;
- };
-
- blend
- {
- target
- {
- writemask = empty;
- };
- };
-
- raster
- {
- cull = none;
- };
-
- #ifdef USE_ZFAIL_STENCIL
- stencil
- {
- enabled = true;
- front = { keep, incwrap, keep, always };
- back = { keep, decwrap, keep, always };
- };
- #else
- stencil
- {
- enabled = true;
- front = { keep, keep, incwrap, always };
- back = { keep, keep, decwrap, always };
- };
- #endif
- };
|