Skip to content
Snippets Groups Projects
Commit 0e10a606 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Ooops

parent 18d1f616
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -120,7 +120,7 @@ vec3 calcPointLightOrSpotLight(vec3 light_col, vec3 diffuse, vec3 v, vec3 n, vec
return col;
}*/
if (dist > 0.0 && la > 0.0)
if (dist > 0.0 && inverted_la > 0.0)
{
dist /= inverted_la;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment