Skip to content

Commit

Permalink
chore: Tiny adjustment to go along with MovingBlocks/Terasology#3933
Browse files Browse the repository at this point in the history
  • Loading branch information
Cervator committed Aug 8, 2020
1 parent 5a7632a commit 4985bf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void process() {

// Shader Parameters

prePostMaterial.setFloat("viewingDistance", renderingConfig.getViewDistance().getChunkDistance().x * 8.0f, true);
prePostMaterial.setFloat("viewingDistance", renderingConfig.getViewDistance().getChunkDistance().x() * 8.0f, true);
prePostMaterial.setFloat3("cameraParameters", activeCamera.getzNear(), activeCamera.getzFar(), 0.0f, true);

if (localReflectionsAreEnabled) {
Expand Down

0 comments on commit 4985bf6

Please sign in to comment.