Skip to content

Commit

Permalink
fix(debug): disable fog with camera debug rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux authored and zarov committed Dec 14, 2018
1 parent 7ec83de commit a5169c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/debug/Debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ function Debug(view, datDebugTool, chartDivContainer) {
displayedTilesObb.add(displayedTilesObbHelper);

function updateFogDistance(obj) {
if (obj.setFog && fogDistance) {
obj.setFog(fogDistance);
if (obj.material && fogDistance) {
obj.material.fogDistance = fogDistance;
}
}

Expand Down

0 comments on commit a5169c9

Please sign in to comment.