diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-23 17:37:51 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-23 17:37:51 -0800 |
| commit | 16d416134ae155a3f0dacfbbe80fb26a998ec9db (patch) | |
| tree | bbedb18f57625ea050107fe9888dc8bf39c03b78 /globals.cginc | |
| parent | 63e32a6fc92baecea75942d9389c9fb17540277d (diff) | |
begin work on stencil+pass-based eye clipping
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index 90434ec..88f8809 100644 --- a/globals.cginc +++ b/globals.cginc @@ -206,4 +206,19 @@ float4 _LTCGI_SpecularColor; float4 _LTCGI_DiffuseColor;
#endif // _LTCGI
+#if defined(MASKED_STENCIL_PASS)
+texture2D _Masked_Stencil_Mask;
+float _Masked_Stencil_Ref;
+float _Masked_Stencil_Read_Mask;
+float _Masked_Stencil_Write_Mask;
+float _Masked_Stencil_Compare_Function;
+float _Masked_Stencil_Pass_Op;
+float _Masked_Stencil_Fail_Op;
+float _Masked_Stencil_Z_Fail_Op;
+#endif // MASKED_STENCIL_PASS
+
+#if defined(EXTRA_STENCIL_COLOR_PASS)
+float4 _ExtraStencilColor;
+#endif // EXTRA_STENCIL_COLOR_PASS
+
#endif // __GLOBALS_INC
|
