summaryrefslogtreecommitdiffstats
path: root/feature_macros.cginc
Commit message (Collapse)AuthorAge
...
* Add normals replace option to matcapyum2024-08-20
| | | | | Also add mix factor slider so you can animate matcap opacity. This is useful for adding things like bodysuits.
* Add HSV, global emissions multiplieryum2024-08-19
| | | | Also bugfix overlays 1-3 ifdefs.
* Add proximity dimming featureyum2024-08-17
| | | | Also overhaul brightness clamping code. It now occurs in HSV space.
* Rim lighting now supports second UV channelyum2024-08-11
| | | | Also add clamp/repeat sampler controls to rim lighting.
* Add two more rim lighting slotsyum2024-08-10
|
* Implement metallics in PBR overlayyum2024-08-10
|
* Add sampler mode (clamp/repeat) control to PBR overlayyum2024-08-10
| | | | Also add UV channel select to PBR overlay
* Add metallic/roughness to decalsyum2024-08-10
| | | | | | | | Also add ability to limit cubemap override to metallic regions of material. Also rename `uv` to `uv0` where appropriate. This is to begin supporting multiple UV maps.
* Implement overlay roughnessyum2024-08-02
|
* Add second clearcoat mask, and add invert abilityyum2024-08-02
| | | | Also optimize by locking each behind a keyword.
* Add facing quad gimmickyum2024-07-26
| | | | | Gimmick makes the quad face the camera, pivoting around the world-space Y axis and the local coordinate system origin.
* Add second mask to matcapsyum2024-07-20
| | | | Useful for PBR overlay.
* Add spherize vertex location gimmickyum2024-07-18
|
* Add filament-style clearcoatyum2024-07-15
|
* Switch to Mochie's BRDFyum2024-07-14
| | | | | Better than Unity BRDF and supports things like parameterizable half-lambertian lighting.
* Integration pixellation and trochoid shadersyum2024-07-13
| | | | | | | | | | Trochoid is a WIP. Need to do some magic to make it properly shear. In short: it's currently implemented as a standalone Mesh Renderer object which I place on my avatar's neck bone. Since its object origin is not at the hip bone like everything else, it behaves weirdly when shearing. Solution is to implement it as a regular skinned mesh renderer. Requires some careful analysis to get right.
* Integrate metallic eye shaderyum2024-07-13
|
* Add audiolink to vertex location quantization gimmickyum2024-07-12
|
* Add matcap and vertex location quantizationyum2024-07-09
| | | | | | | | | | | | | | | | matcap quantization simply quantizes matcap colors to a configurable # of equal-sized steps. vertex location quantization snaps each vertex location to a quantized location in object space. You can control the direction relative to the mesh normal that this quantization occurs. So if you have skintight clothing, set base direction to -1 and clothing direction to 1. Then skin will quantize inwards, and clothing will quantize outwards. Areas of high curvature (s.a. nips) may still cause problems, so I also added a mask feature. Finally, fix an issue where exploding the mesh causes outlines to appear at the world origin.
* Add basic decalsyum2024-06-29
| | | | | | | | | | Also add polar masking rim lighting. Polar masking calculates the angle of the matcap UV (theta) and evalutes this function: m_{polar} = 1 / (1 + length(theta - theta_{configured}) It then masks the rim lighting effect using m_{polar}. Quantization applies to this effect.
* Add glitter option to rim lightingyum2024-06-25
| | | | | | Now rim lighting can illuminate the avatar as if it has glitter on it. Also deprecate glitter seed, since it was unused.
* Add gimmicks folderyum2024-06-23
Catch-all bag for some nascent research. Zero cost if unused. Also organize all shader-side keywords into a single .cginc.