diff options
| author | yum <yum.food.vr@gmail.com> | 2025-08-08 19:14:38 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-08-08 19:14:38 -0700 |
| commit | 7cdf39f51b47553af89c3de5b86d33ded4b5cdd2 (patch) | |
| tree | 47fdf40b13ada0ea52b545b941b0acc29066e448 /math.cginc | |
| parent | 310dbc3a5393635e08faf78ddf47c57a37524d4b (diff) | |
Add cloth lobe & IBL DFG LUTs
- add monte carlo integrator to produce the luts
- fix layer energy integration; should be multiplicative, not additive
Diffstat (limited to 'math.cginc')
| -rw-r--r-- | math.cginc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3,6 +3,7 @@ #define PI 3.14159265358979f #define RCP_PI (1.0f / PI) +#define TAU (2.0f * PI) float sin_noise_3d(float3 uvw) { return sin(uvw[0]) * sin(uvw[1]) * sin(uvw[2]); |
