summaryrefslogtreecommitdiffstats
path: root/globals.cginc
Commit message (Collapse)AuthorAge
...
* Add gerstner water gimmickyum2024-10-23
|
* Fog performance optimizationsyum2024-10-11
| | | | | | | | * Rename albedo cutoff to alpha cutoff * Add LODs for calculating fog density * Use 3D noise texture to speed up density calculation * Eliminate low impact octaves from density calculation * Add support for multiple emitters
* Rework step size / densityyum2024-10-09
| | | | | Step size is now derived from density. Step size is reimagined as a "quality" multiplier.
* Avatar bugfixesyum2024-10-09
|
* Add emitter texture to fogyum2024-10-09
|
* Add fog parameters; add Unity fog to fwd/add passesyum2024-10-08
|
* Add fog gimmickyum2024-10-07
|
* Fix SSRyum2024-10-05
|
* Add audiolink chroma gimmickyum2024-10-04
| | | | | | | | | | Enable displaying chroma as a solid color on the base/forward pass and/or the outline pass. Also: * add optional mask for mochie reflection strength * update README with dev instructions
* PBR overlays can now overwrite glitteryum2024-10-01
|
* Add per-channel center eye fixyum2024-09-30
|
* Add new eye gimmickyum2024-09-29
|
* World lighting bugfixesyum2024-09-28
| | | | Remove explicit world interpolators flag, fix specular reflections.
* Add letter grid gimmickyum2024-09-28
|
* World lighting fixesyum2024-09-24
| | | | | | | | | | | | | | | | * Add channel selection for roughness and metallic textures * This lets u combine roughness & metallic into one texture * Add Bakery-compatible emission slot * Add compile-time toggle for brightness clamping * Add toggle for world interpolators * Add emission type dropdown (baked/realtime/none) * Switch to bilinear filtering for base PBR maps to match standard shader behavior * Add bugfixes for Mochie BRDF in world lighting mode * Rename _NormalTex to _BumpMap for compatibility with standard shader * World lighting mode uses Unity baked GI logic instead of normal world lighting logic * Use uv2 instead of lmuv for lightmap UVs
* Add shader inlining toolingyum2024-09-18
| | | | | This should solve the issue of Unity failing to fully recompile my fucking shader.
* UI cleanupyum2024-09-13
| | | | | | All UI sections can now be collapsed. Also add toggle for center cam fix on RL/matcaps.
* Replace all instances of _WorldSpaceCameraPos with center eye posyum2024-09-12
| | | | Fixes left/right eye mismatch in VR.
* Rework glitteryum2024-09-10
| | | | now it's voronoi
* Start new eye shader, add UV mirror flippingyum2024-09-10
| | | | Also tune rand3() to behave better on rorschach demo.
* Add quantization and alpha blending to rorschach effectyum2024-09-07
|
* add a bunch of parameters to rorschach gimmickyum2024-09-07
|
* Add rorschach gimmickyum2024-09-06
| | | | | | Wound up looking more like voronoi but oh well lol. Fix iq sdf include - now it can be included multiple times.
* Add lit glitter logicyum2024-08-30
| | | | | Also fix prox dimming. It should occur *after* the non-specular brightness budget correction.
* Add 4 more UV channelsyum2024-08-29
| | | | Also make glitter & rim lighting glitter UV channel aware.
* Add color (tint) to glitteryum2024-08-28
|
* Emissions are now UV channel awareyum2024-08-28
|
* Add second emission slotyum2024-08-28
| | | | useful for animation
* Add second HSV slotyum2024-08-28
| | | | Helps with animation.
* Add mipmap bias for overlays and matcap normalsyum2024-08-24
|
* Switch to SampleBias for everythingyum2024-08-24
| | | | Also add a global slider for it.
* Add second indirect specular lighting factoryum2024-08-22
| | | | First one is probably being used for animations. Second one is static.
* Matcap can now overwrite rim lighting in a configurable wayyum2024-08-22
|
* Matcap masks are now UV channel awareyum2024-08-21
|
* Add discard featureyum2024-08-21
| | | | Like UV tile discard, but less useful!
* Implement UV channel selection for matcap normalsyum2024-08-20
| | | | Also fix how normals get blended with matcap mix slider.
* 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
|
* Add mask inverts for roughness & hue shiftyum2024-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 controls for overlays on transparent materialsyum2024-08-02
| | | | | | | | Add ability to constrain overlay to parts of the texture based on opacity. Min/max opacity are configurable. Add slider to multiply the overlay's alpha channel. This helps prevent transparent overlays from disappearing in less detailed mip 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
* 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.