From 36dbdde9a08c66c5be2e8b8b6c822968a73041b6 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 26 Mar 2025 00:40:45 -0700 Subject: Fix how outlines work with shatterwave & tessellation heightmap --- math.cginc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math.cginc') diff --git a/math.cginc b/math.cginc index 78b93ec..8d404d9 100644 --- a/math.cginc +++ b/math.cginc @@ -194,7 +194,7 @@ float3 blendNormalsHill12(float3 n0, float3 n1) { return normalize(n0 * dot(n0, n1) - n1 * n0.z); } -float3 luminance(float3 color) { +float luminance(float3 color) { return dot(color, float3(0.2126, 0.7152, 0.0722)); } -- cgit v1.2.3