summaryrefslogtreecommitdiffstats
path: root/brdf.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'brdf.cginc')
-rwxr-xr-xbrdf.cginc2
1 files changed, 1 insertions, 1 deletions
diff --git a/brdf.cginc b/brdf.cginc
index 9e08325..da3fcd6 100755
--- a/brdf.cginc
+++ b/brdf.cginc
@@ -181,7 +181,7 @@ float4 brdf(Pbr pbr, LightData data) {
#else
float3 emission = 0;
#endif
- return float4(diffuse + specular + emission, 1);
+ return float4(diffuse + specular + emission, pbr.albedo.a);
}
#endif // __BRDF_INC