From b000eb9f08691df6ff07109d41e8ae2028799e9e Mon Sep 17 00:00:00 2001 From: yum Date: Sat, 7 Jun 2025 18:16:32 -0700 Subject: Convert fake origins code to tangent space --- globals.cginc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index e1cc6f1..1bb881a 100644 --- a/globals.cginc +++ b/globals.cginc @@ -553,6 +553,17 @@ float _Raymarched_Fog_Density_Exponent; float _Raymarched_Fog_Height_Density_Start; float _Raymarched_Fog_Height_Density_Half_Life; #endif +#if defined(_CUSTOM30_FOG_HEIGHT_DENSITY_MINIMUM) +float _Custom30_Fog_Height_Density_Minimum; +#endif +#if defined(_RAYMARCHED_FOG_EMITTER_TEXTURE) +texture2D _Raymarched_Fog_Emitter_Texture; +float4 _Raymarched_Fog_Emitter_Texture_TexelSize; +float3 _Raymarched_Fog_Emitter_Texture_World_Pos; +float3 _Raymarched_Fog_Emitter_Texture_World_Normal; +float3 _Raymarched_Fog_Emitter_Texture_World_Tangent; +float2 _Raymarched_Fog_Emitter_Texture_World_Scale; +#endif #endif // _RAYMARCHED_FOG #endif // __GLOBALS_INC -- cgit v1.2.3