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 --- data.cginc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 data.cginc (limited to 'data.cginc') diff --git a/data.cginc b/data.cginc new file mode 100644 index 0000000..9b6ea10 --- /dev/null +++ b/data.cginc @@ -0,0 +1,16 @@ +#ifndef __DATA_INC +#define __DATA_INC + +struct YumPbr { + float4 albedo; + float3 normal; + float3 emission; + float smoothness; + float roughness; + float roughness_perceptual; + float metallic; + float ao; +}; + +#endif // __DATA_INC + -- cgit v1.2.3