Skip to content

Commit

Permalink
Update missing files for cutoff issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjglgamedev committed May 31, 2024
1 parent cf7e6b6 commit 50b3830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private void updateSpotLight(SpotLight spotLight, String prefix, Matrix4f viewMa
}

uniformsMap.setUniform(prefix + ".conedir", coneDirection);
uniformsMap.setUniform(prefix + ".conedir", cutoff);
uniformsMap.setUniform(prefix + ".cutoff", cutoff);
updatePointLight(pointLight, prefix + ".pl", viewMatrix);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private void updateSpotLight(SpotLight spotLight, String prefix, Matrix4f viewMa
}

uniformsMap.setUniform(prefix + ".conedir", coneDirection);
uniformsMap.setUniform(prefix + ".conedir", cutoff);
uniformsMap.setUniform(prefix + ".cutoff", cutoff);
updatePointLight(pointLight, prefix + ".pl", viewMatrix);
}
}

0 comments on commit 50b3830

Please sign in to comment.