summaryrefslogtreecommitdiffstats
path: root/math.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-03-26 00:40:45 -0700
committeryum <yum.food.vr@gmail.com>2025-03-26 00:40:45 -0700
commit36dbdde9a08c66c5be2e8b8b6c822968a73041b6 (patch)
treedf26dbd531b8a665c0af4f38dfd3f78e7e5b1ddb /math.cginc
parent70f30643e6c392535cfbf0b82054bd4b53868833 (diff)
Fix how outlines work with shatterwave & tessellation heightmap
Diffstat (limited to 'math.cginc')
-rw-r--r--math.cginc2
1 files changed, 1 insertions, 1 deletions
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));
}