Skip to content

bradnelson/whs-component-skybox

 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%