summaryrefslogtreecommitdiffstats
path: root/downstairs_02.cginc
Commit message (Collapse)AuthorAge
* Add some options to ds2_11 (terrain gimmick)yum2025-01-22
| | | | Also chase down the weird clearcoat bug.
* Clearcoat can disable texture normalsyum2025-01-21
| | | | | | | | | | | | | | | | | Also: * terrain gimmick * makes some hardcoded shit into params * add alternative normal evaluation methods * stochastic method gives best results without getting into analytic normals * add FBM noise texture slot to improve perf * add initial raytrace to sphere * stabilizes appearance as camera moves * add backtracking * eliminates sharp lines without sacrificing perf * fog 00 can render on a plane now, in addition to cylinder * add epilepsy protection filter
* Add UV domain warping, box discard gimmicksyum2025-01-20
| | | | | | | | | | Also: * optimize the ds2 terrain gimmick (ds2_11) * use golden ratio + blue noise on marched fog * add second sun to analytic fog * fix gcd() implementation * add faster rand2() implementation
* Add terrain gimmick (ds2_11) and analytic fog (fog01)yum2025-01-19
|
* Fog now uses object coordinatesyum2025-01-03
| | | | Also overhaul how emitter planes are specified. Use normal and tangent.
* Optimize downstairs 2 gimmick 3yum2025-01-01
|
* More work on downstairs 2 gimmicksyum2025-01-01
| | | | | | | * Use float param to select which gimmick to show * Add colors & domain warping to gimmick 2 * Also optimize it. Colors let us avoid 4-fold neighbor check fanout * Add rough/unoptimized version of gimmick 3
* Begin adding gimmicks for downstairs mapyum2024-12-30
Included changes: * Update LTCGI includes * Add toggle to force world lighting * Unity fucking sucks dick and balls and doesn't set LIGHTMAP_ON consistently * Add some more sdfs for raymarching * Add separate LTCGI lighting mode for avatar vs. world