summaryrefslogtreecommitdiffstats
path: root/pbr.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-01-22 21:05:22 -0800
committeryum <yum.food.vr@gmail.com>2025-01-22 21:07:08 -0800
commitf9eb05f74fd3697f93d3abbdad9e77638eb43651 (patch)
tree73e8028080915c79b36638b346efdbadfa4be438 /pbr.cginc
parent690f824533db02ecf9ac7e2a5672c0c84c5d1c1d (diff)
Add LTCGI strength slider
Diffstat (limited to 'pbr.cginc')
-rw-r--r--pbr.cginc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbr.cginc b/pbr.cginc
index 824647f..ee3d22b 100644
--- a/pbr.cginc
+++ b/pbr.cginc
@@ -257,8 +257,8 @@ float4 getLitColor(
view_dir,
GetRoughness(smoothness),
i.uv2);
- indirect_light.diffuse += acc.diffuse;
- indirect_light.specular += acc.specular;
+ indirect_light.diffuse += acc.diffuse * _LTCGI_Strength;
+ indirect_light.specular += acc.specular * _LTCGI_Strength;
}
#endif
#endif