babylon-voxel-skybox
v1.0.3
Published
Skybox for Babylon.js
Downloads
4
Maintainers
Readme
Babylon Voxel Skybox
Voxel skybox for Babylon.js
Skybox for Babylon.js.
Best when used with Noa-Engine.
Example
let skybox = require('babylon-voxel-skybox')({
// Pass it a copy of the Babylon scene
scene: scene,
// Texture of the skybox
skybox_path: 'textures/skybox1',
// Size skybox
skybox_size: 200.0,
});
// If using Noa-Engine: Tell engine to render it
noa.rendering.addDynamicMesh(skybox.get_skybox());
// If you want to change skybox
skybox.set_skybox('textures/skybox2');
Run the Example
git clone git://github.com/Nesh108/babylon-voxel-skybox && cd babylon-voxel-skybox
npm install
npm start
Install
With npm do:
npm install --save babylon-voxel-skybox
Release History
- 1.0.0 - initial release
License
Copyright (c) 2017 Nesh108
Licensed under the MIT license.