summaryrefslogtreecommitdiffstats
path: root/interpolators.cginc
Commit message (Collapse)AuthorAge
* Add 4 more UV channelsyum2024-08-29
| | | | Also make glitter & rim lighting glitter UV channel aware.
* Add two more UV channelsyum2024-08-20
|
* Unity 2022.3.22f1 bugfix: instance id must be declared in v2fyum2024-08-17
|
* Decals can now use a secondary UV channelyum2024-08-10
| | | | | | | | This lets you efficiently create a shit ton of tattoos using a single texture. It also lets you place them over seamlines. Just create a secondary UV map in blender and export as FBX. The shader will pick up this secondary channel and use it, if instructed to do so in the decals UI.
* 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 stereo instancingyum2024-07-28
| | | | | | | | | | | Seems to fix VR flickering bug. Also: * Add vertex lighting factor * Remove clearcoat 10x factors * Lighting factors now affect clearcoat * Simplify `#pragma multi_compile` bits
* Rename v2f `vertex` to `pos`yum2024-07-15
| | | | ... for compatibility with Unity shadowing code.
* Switch to Mochie's BRDFyum2024-07-14
| | | | | Better than Unity BRDF and supports things like parameterizable half-lambertian lighting.
* Rename some fields to 'vertex'yum2024-06-24
| | | | Improves compatibility with things like SPS.
* Implement shadow receivingyum2024-05-27
|
* Add two rim lighting slotsyum2024-05-11
|
* Add LTCGIyum2024-04-25
| | | | Also begin trying to fix fallback shaders.
* Perform matcap calculation in camera spaceyum2024-04-22
| | | | Rotating the camera around the object now works as expected.
* Initial commityum2024-04-22
Code bomb. Put tooner in version control.