summaryrefslogtreecommitdiffstats
path: root/math.cginc
Commit message (Collapse)AuthorAge
* Simplify wrapped lighting function, fix how NoL is used in brdfyum2025-06-30
|
* more c30 workyum2025-06-11
|
* more work on fog & c30yum2025-06-05
|
* fix ssaoyum2025-06-04
|
* add cmyk warping planes gimmick to decalsyum2025-04-24
| | | | | renders the decal 4 times one planes, and applies domain warping to each plane. Requires a 4-channel (RGBA) noise texture.
* add rough ability to nudge tessellation heightmap directionyum2025-04-11
|
* Add static flag to limit fallback cubemap to metallicyum2025-04-08
|
* Overhaul wrapped lightingyum2025-03-31
| | | | | | | | | | Now: * k=0 -> lambertian * k=0.5 -> half lambertian * k=1.0 -> flat All three points should be energy conserving, but I haven't done the actual analysis yet.
* Fix how outlines work with shatterwave & tessellation heightmapyum2025-03-26
|
* Add shatter wave gimmickyum2025-03-25
|
* Add letter grid gimmickyum2025-03-25
|
* Add false color visualizeryum2025-03-20
| | | | | | Based on Sotalo's Furality talk - I wanted a way to visualize when my albedo is outside the recommended [0.025, 90]% brightness range. This feature does that. Dark is rendered red, bright is rendered blue.
* Add detail mapsyum2025-02-27
|
* Add glitter and more masked stencil channelsyum2025-02-26
|
* Add UV domain warpingyum2025-02-23
|
* Add directionality and quantization to rim lightingyum2025-02-20
|
* Add vertex domain warping gimmickyum2025-02-19
|
* Add a bunch of featuresyum2025-02-12
| | | | | | | | | | | | | | | | | | * stereo instancing * outlines * shadows (casting & receiving) * unity fog * blend modes * wrapped lighting (generalized half lambertian) * diffuse & specular have independent knobs Also: * fix bug where shadow caster wouldn't clip in cutout mode. * remove a bunch of unused params * use ifex to minimize size of locked materials (more to be done probably) * improve formatting
* Add codeyum2025-02-11
Implement basic diffuse and specular BRDF based heavily on silent's filamented shader.