Shader for use with voxel-mesher.
Based on @mikolalysenko's ao-shader
Load with voxel-plugins
perspectiveResize: if true (default), listens for
gl-resizegame-shell event and updates projection matrix
cameraFar: camera near and far clipping planes
cameraFOV: field of view in degrees (note: call
updateProjectionMatrix()after changing any of the camera options, see camera-debug)
When the plugin is enabled, it will automatically listen for
events from game-shell, for initializing and rendering the scene.
Voxels are rendered in two passes, refer to the voxel-mesher documentation for further details.
(c) 2013 Mikola Lysenko, (c) 2014 deathcap. MIT License