wireframe shader for voxels


Shows a wireframe around the voxels in game-shell-voxel

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;

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