Experimental SSAO for voxel.js
JavaScript
Switch branches/tags
Nothing to show
Latest commit 621eb66 Jun 5, 2013 @shama More thanks
Permalink
Failed to load latest commit information.
shaders initial release Jun 5, 2013
textures initial release Jun 5, 2013
.gitignore initial release Jun 5, 2013
.npmignore initial release Jun 5, 2013
LICENSE-MIT initial release Jun 5, 2013
README.md More thanks Jun 5, 2013
demo.js initial release Jun 5, 2013
index.html initial release Jun 5, 2013
index.js initial release Jun 5, 2013
package.json initial release Jun 5, 2013
rabbit.png initial release Jun 5, 2013
style.css initial release Jun 5, 2013

README.md

voxel-ssao

This is an experiment to implement screen space ambient occlusion into voxel.js. It works but it's slow and doesn't look as good as it should.

So use sparingly.

Thanks to alteredq for the SSAO shader and three.js. Also thanks to hughsk for making post-processing easier in voxel.js with voxel-pp.

example

View this example

// Add this to your game and whamo!
require('voxel-ssao')(game)

install

With npm do:

npm install voxel-ssao

Use browserify to require('voxel-ssao').

release history

  • 0.1.0 - initial release

license

Copyright (c) 2013 Kyle Robinson Young
Licensed under the MIT license.