Skip to content

Commit 4985bf6

Browse files
committed
chore: Tiny adjustment to go along with MovingBlocks/Terasology#3933
1 parent 5a7632a commit 4985bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/terasology/corerendering/rendering/dag/nodes/PrePostCompositeNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public void process() {
191191

192192
// Shader Parameters
193193

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

197197
if (localReflectionsAreEnabled) {

0 commit comments

Comments
 (0)