diff options
| author | yum <yum.food.vr@gmail.com> | 2025-07-30 17:10:34 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-07-30 17:13:36 -0700 |
| commit | be4c8a8ee8eaf892d008835225dfd897d259d793 (patch) | |
| tree | eadb32c3c0351a71225a98f0df95e4dcdf359833 /data.cginc | |
| parent | eba91b479fb6476fed06b13906d7805f43f879b6 (diff) | |
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
Diffstat (limited to 'data.cginc')
| -rw-r--r-- | data.cginc | 16 |
1 files changed, 16 insertions, 0 deletions
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 + |
