From 4e8de4d6f93bce6d4951ad85fe4ae31b9e0cdedd Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 18 Apr 2025 16:10:12 -0700 Subject: Add 3d sdf feature --- globals.cginc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 5530d41..955cc2a 100644 --- a/globals.cginc +++ b/globals.cginc @@ -300,10 +300,12 @@ float _Vertex_Domain_Warping_Audiolink_VU_Scale_Factor; #endif // _VERTEX_DOMAIN_WARPING_AUDIOLINK #if defined(_UV_DOMAIN_WARPING) +texture2D _UV_Domain_Warping_Noise; float _UV_Domain_Warping_Spatial_Strength; float _UV_Domain_Warping_Spatial_Scale; float _UV_Domain_Warping_Spatial_Octaves; float _UV_Domain_Warping_Spatial_Speed; +float2 _UV_Domain_Warping_Spatial_Direction; #endif #if defined(_EYE_EFFECT_00) @@ -473,4 +475,15 @@ float _Spherize_Radius; float _Spherize_Strength; #endif // _SPHERIZE +#if defined(_3D_SDF) +texture3D _3D_SDF_Texture; +float4 _3D_SDF_Thresholds; +float4 _3D_SDF_Color_0; +float4 _3D_SDF_Color_1; +float4 _3D_SDF_Color_2; +float4 _3D_SDF_Color_3; +float _3D_SDF_Z; +float _3D_SDF_Z_Speed; +#endif // _3D_SDF + #endif // __GLOBALS_INC -- cgit v1.2.3