Skip to content

Repository files navigation

whs-component-skybox

Skybox plugin

Usage

Box Skybox

const skybox = new WHS.Skybox({
    skyType: 'box',
    imgSuffix: '.jpg',
    radius: 1000,
    fog: false,
    path: 'assets/DarkSea-'
});

skybox.addTo(GAME);

Sphere Skybox

const skybox = new WHS.Skybox({
    skyType: 'sphere',
    imgSuffix: '.jpg',
    radius: 100,
    fog: false,
    path: 'assets/sphere'
});

skybox.addTo(GAME);

Live examples

Credits for Assets in Examples

About

Skybox component for Whitestormjs

Resources

Stars

0 stars

Watchers

14 watching

Forks

Releases

Packages

Contributors

Languages