/voxel-wireframe

wireframe shader for voxels

Primary LanguageJavaScript

voxel-wireframe

Shows a wireframe around the voxels in voxel-engine-stackgl

screenshot

Usage

Load with voxel-plugins, options:

  • showWireframe: if true, wireframe will be shown initially (default false)

Press and the 'wireframe' keybinding (default 'F9') with the Shift key to toggle the wireframe interactively (without shift, F9 by default toggles voxel-chunkborder).

.showWireframe property can be set to manually show the wireframe, example:

var wirePlugin = game.plugins.get('voxel-wireframe');

wirePlugin.showWireframe = true;

License

Based on mikolalysenko/voxel-mipmap-demo (c) 2013 Mikola Lysenko. MIT License

MIT