Fallow and name fix

This commit is contained in:
Tleety
2016-02-19 13:52:16 +01:00
parent 844825813b
commit 949ee76f55
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ struct LightResult {
};
float CalcAttenuation(float radius, float dist, float falloff) {
return 1.0 - smoothstep(radius * 0.3, radius, dist);
return 1.0 - smoothstep(radius * falloff, radius, dist);
}
vec4 CalcSpecular(vec4 lightColor, vec4 viewVec, vec4 lightVec, vec4 normal) {