Creates 6 cameras that render to a WebGLRenderTargetCube.
const camera = new WHS.CubeCamera({
camera: {
cubeResolution: 256
},
position: {
x: 0,
y: 100,
z: 0
}
});
world.camera = camera;
Updated less than a minute ago
Creates 6 cameras that render to a WebGLRenderTargetCube.
const camera = new WHS.CubeCamera({
camera: {
cubeResolution: 256
},
position: {
x: 0,
y: 100,
z: 0
}
});
world.camera = camera;
Updated less than a minute ago