Capítulo 554 de 859
A ground-projected skybox.
By default the object is centered at the camera, so it is often helpful to set skybox.position.y = height to put the ground at the origin.
const height = 15, radius = 100;
const skybox = new GroundedSkybox( envMap, height, radius );
skybox.position.y = height;
scene.add( skybox );
Constructor
| Signature |
|---|
new GroundedSkybox( map : Texture, height : number, radius : number, resolution : number ) |