From be4c8a8ee8eaf892d008835225dfd897d259d793 Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 30 Jul 2025 17:10:34 -0700 Subject: buncha shit - overhaul gradient normals to take a (dFy/dx, dFy/dz) input, and optionally two more: (dFx/dx, dFx/dz) and (dFz/dx, dFz/z) - this is what fft water needs - put YumPbr into data.cginc - fix tessellation compiler errors - remove tessellation frustum culling, seems to have been buggy - remove not impactful brdf code --- filamented.cginc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filamented.cginc') diff --git a/filamented.cginc b/filamented.cginc index ecdfb1c..b66baf2 100644 --- a/filamented.cginc +++ b/filamented.cginc @@ -7,6 +7,7 @@ #include "UnityImageBasedLighting.cginc" #include "UnityStandardUtils.cginc" +#include "data.cginc" #include "math.cginc" // I made changes to this code. @@ -1257,4 +1258,5 @@ float3 BakeryGI_Irradiance( ); } + #endif // __FILAMENTED_INC -- cgit v1.2.3