From 2b52ecd62bec9dd18a21785f622ed3f04728e041 Mon Sep 17 00:00:00 2001 From: turanszkij Date: Sat, 28 Jan 2017 14:26:49 +0100 Subject: [PATCH] updated brdf --- WickedEngine/brdf.hlsli | 1 - 1 file changed, 1 deletion(-) diff --git a/WickedEngine/brdf.hlsli b/WickedEngine/brdf.hlsli index 40b51500d..5d2ece591 100644 --- a/WickedEngine/brdf.hlsli +++ b/WickedEngine/brdf.hlsli @@ -43,7 +43,6 @@ float V_SmithGGXCorrelated(float NdotL, float NdotV, float alphaG) // This is the optimize version float alphaG2 = alphaG * alphaG; - alphaG2 = alphaG2 + 0.0000001; // cg miatt // Caution: the "NdotL *" and "NdotV *" are explicitely inversed , this is not a mistake. float Lambda_GGXV = NdotL * sqrt((-NdotV * alphaG2 + NdotV) * NdotV + alphaG2);