Skip to content

Commit

Permalink
Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tentone committed Jan 3, 2024
1 parent 3ac120d commit be790ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -33935,10 +33935,12 @@
MapBoxProvider.MAP_ID = 101;

var canvas = document.getElementById('canvas');
ColorManagement.enabled = false;
var renderer = new WebGLRenderer({
canvas: canvas,
antialias: true
});
renderer.outputColorSpace = LinearSRGBColorSpace;
var scene = new Scene();
scene.background = new Color(0.4, 0.4, 0.4);
var provider = new BingMapsProvider('', BingMapsProvider.AERIAL);
Expand Down
2 changes: 2 additions & 0 deletions examples/providers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34493,10 +34493,12 @@
}

var canvas = document.getElementById('canvas');
ColorManagement.enabled = false;
var renderer = new WebGLRenderer({
canvas: canvas,
antialias: true
});
renderer.outputColorSpace = LinearSRGBColorSpace;
var scene = new Scene();
scene.background = new Color(0.4, 0.4, 0.4);
var sky = createSky();
Expand Down

0 comments on commit be790ff

Please sign in to comment.