diff options
| author | yum <yum.food.vr@gmail.com> | 2024-10-17 16:06:31 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-10-17 16:06:31 -0700 |
| commit | 182e51776a51977d480ac19e668d3c209e601766 (patch) | |
| tree | 590341fac985a0fafe392ecee482c643fdb6693d /pbr.cginc | |
| parent | 2d35cf78c8d2298af515110000c95ff81310f633 (diff) | |
Add toggle for unity fog
Diffstat (limited to 'pbr.cginc')
| -rw-r--r-- | pbr.cginc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -462,7 +462,9 @@ float4 getLitColor( #endif #endif +#if defined(_UNITY_FOG) UNITY_APPLY_FOG(i.fogCoord, pbr.rgb); +#endif return float4(pbr.rgb, albedo.a); } |
