diff options
| author | yum <yum.food.vr@gmail.com> | 2025-10-11 22:08:17 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-10-12 11:14:39 -0700 |
| commit | b056c6935128dd7e4a9572a946bab5c4bc08da32 (patch) | |
| tree | 1de16ab073383a5277a19354fbf0d63feaa5090f /lighting.cginc | |
| parent | dc8a6dfb9d78316b8c58c587bc606468377b0fe3 (diff) | |
gay behavior
Diffstat (limited to 'lighting.cginc')
| -rw-r--r-- | lighting.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lighting.cginc b/lighting.cginc index 6668459..17f1a0a 100644 --- a/lighting.cginc +++ b/lighting.cginc @@ -203,7 +203,7 @@ void GetLighting(v2f i, Pbr pbr, out LightData data) { data.indirect.double_LoV = saturate(2.0f * indirect_LoV * indirect_LoV - 1.0f); data.indirect.diffuse = getIndirectDiffuse(i, pbr, data.indirect); - data.indirect.specular = getIndirectSpecular(i, pbr.roughness_perceptual, view_dir, data.indirect.dir); + data.indirect.specular = getIndirectSpecular(i, pbr.roughness, view_dir, data.indirect.dir); #if defined(_CLEARCOAT) data.indirect.specular_cc = getIndirectSpecular(i, pbr.cc_roughness, view_dir, dir_cc); #endif |
