summaryrefslogtreecommitdiffstats
path: root/brdf.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'brdf.cginc')
-rwxr-xr-xbrdf.cginc1
1 files changed, 1 insertions, 0 deletions
diff --git a/brdf.cginc b/brdf.cginc
index 0ce723c..058237b 100755
--- a/brdf.cginc
+++ b/brdf.cginc
@@ -165,6 +165,7 @@ float4 brdf(Pbr pbr, LightData data) {
}
#endif
+ specular *= data.common.spec_ao;
return float4(diffuse + specular, 1);
}