summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-02-20 00:07:46 -0800
committeryum <yum.food.vr@gmail.com>2025-02-20 00:07:46 -0800
commit65ed0c23335b10a266d76257eeb3e7ecfd23cfb5 (patch)
tree998424873ee3389894ee085ea6464b59a71474fb /features.cginc
parentcba7e1ab0bfa89b228955e18b47cf7aca2a84c9f (diff)
Add directionality and quantization to rim lighting
Diffstat (limited to 'features.cginc')
-rw-r--r--features.cginc4
1 files changed, 4 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index 9976d45..718b63f 100644
--- a/features.cginc
+++ b/features.cginc
@@ -28,10 +28,14 @@
//ifex _Rim_Lighting0_Enabled==0
#pragma shader_feature_local _RIM_LIGHTING0
#pragma shader_feature_local _RIM_LIGHTING0_MASK
+#pragma shader_feature_local _RIM_LIGHTING0_ANGLE_LIMIT
+#pragma shader_feature_local _RIM_LIGHTING0_QUANTIZATION
//endex
//ifex _Rim_Lighting1_Enabled==0
#pragma shader_feature_local _RIM_LIGHTING1
#pragma shader_feature_local _RIM_LIGHTING1_MASK
+#pragma shader_feature_local _RIM_LIGHTING1_ANGLE_LIMIT
+#pragma shader_feature_local _RIM_LIGHTING1_QUANTIZATION
//endex
//ifex _Vertex_Domain_Warping_Enabled==0