How to use the CubemapToEquirectangular function from three

Find comprehensive JavaScript three.CubemapToEquirectangular code examples handpicked from public code repositorys.

20
21
22
23
24
25
26
27
28
29
```js
var THREE = require('three');
var CubemapToEquirectangular = require('three.cubemap-to-equirectangular');
```

Define a new instance of THREE.CubemapToEquirectangular.
```js
// create renderer, scene, camera, etc.
var renderer = new THREE.WebGLRenderer();
var scene = new THREE.Scene();
fork icon37
star icon178
watch icon10

+ 11 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)