diff options
Diffstat (limited to 'src/Runtime/res/effectlib/spotEdf.glsllib')
-rw-r--r-- | src/Runtime/res/effectlib/spotEdf.glsllib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Runtime/res/effectlib/spotEdf.glsllib b/src/Runtime/res/effectlib/spotEdf.glsllib index defa641d..663bd8f0 100644 --- a/src/Runtime/res/effectlib/spotEdf.glsllib +++ b/src/Runtime/res/effectlib/spotEdf.glsllib @@ -34,7 +34,7 @@ float spotEdf( float exponent ) float dist = length(viewDir); vec3 spotDir = viewDir / dist; - + float spot = max(0.0f, dot(spotDir, normal)); att = pow(spot, exponent); |