summaryrefslogtreecommitdiffstats
path: root/res/effectlib/physGlossyBSDF.glsllib
diff options
context:
space:
mode:
Diffstat (limited to 'res/effectlib/physGlossyBSDF.glsllib')
-rw-r--r--res/effectlib/physGlossyBSDF.glsllib4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/effectlib/physGlossyBSDF.glsllib b/res/effectlib/physGlossyBSDF.glsllib
index ff0eb8c..ece836b 100644
--- a/res/effectlib/physGlossyBSDF.glsllib
+++ b/res/effectlib/physGlossyBSDF.glsllib
@@ -66,7 +66,7 @@ vec4 kggxGlossyBSDF( in mat3 tanFrame, in vec3 L, in vec3 V, in vec3 lightSpecul
float NdotL = dot(tanFrame[2], L);
float HdotL = clamp(dot(H, L), 0.0, 1.0);
- // if (0.0f < NdotL)
+ // if (0.0 < NdotL)
// {
vec3 Haf = L + V;
@@ -123,7 +123,7 @@ vec4 wardGlossyBSDF( in mat3 tanFrame, in vec3 L, in vec3 V, in vec3 lightSpecul
float NdotL = dot(tanFrame[2], L);
float HdotL = clamp(dot(H, L), 0.0, 1.0);
-// if (0.0f < NdotL)
+// if (0.0 < NdotL)
// {
vec3 Haf = L + V;