diff options
| author | yum <yum.food.vr@gmail.com> | 2024-07-28 14:14:30 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-07-28 14:14:30 -0700 |
| commit | 22d3a28ef6ac9f4fc9204ae3bc0c67d82feac46e (patch) | |
| tree | 1cfe361a86a731e630ceece702e7654ce62cfabf /globals.cginc | |
| parent | aa932e9df0691f1de27fb44e06e8d786400c3d2a (diff) | |
Implement stereo instancing
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
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc index 6e6a01f..e14b1a7 100644 --- a/globals.cginc +++ b/globals.cginc @@ -14,6 +14,7 @@ float _NormalStr; float _Lighting_Factor; float _Direct_Lighting_Factor; +float _Vertex_Lighting_Factor; float _Indirect_Specular_Lighting_Factor; float _Indirect_Diffuse_Lighting_Factor; float _Reflection_Probe_Saturation; |
