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 --- features.cginc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'features.cginc') diff --git a/features.cginc b/features.cginc index 4dc350d..71ed9e2 100644 --- a/features.cginc +++ b/features.cginc @@ -306,6 +306,7 @@ #pragma shader_feature_local _CUSTOM30_BASICPLATFORM_CHAMFER #pragma shader_feature_local _CUSTOM30_BASICPLATFORM_Y_ALIGNED #pragma shader_feature_local _CUSTOM30_BASICPLATFORM_VERTICAL +#pragma shader_feature_local _CUSTOM30_RAINBOW //endex //ifex _Depth_Prepass_Enabled==0 @@ -318,11 +319,20 @@ //ifex _Raymarched_Fog_Height_Density_Enabled==0 #pragma shader_feature_local _RAYMARCHED_FOG_HEIGHT_DENSITY +#pragma shader_feature_local _CUSTOM30_FOG_HEIGHT_DENSITY_MINIMUM //endex //ifex _Raymarched_Fog_Density_Exponent_Enabled==0 #pragma shader_feature_local _RAYMARCHED_FOG_DENSITY_EXPONENT //endex +//ifex _Raymarched_Fog_Emitter_Texture_Enabled==0 +#pragma shader_feature_local _RAYMARCHED_FOG_EMITTER_TEXTURE +//endex + +//ifex _Unlit_Enabled==0 +#pragma shader_feature_local _UNLIT +//endex + #endif // __FEATURES_INC -- cgit v1.2.3