three-matcap-material
v1.0.0
Published
This is just a package of @spite's excellent Spherical Environment Mapping code, to give your models a nicer lighting.
Readme
This is just a package of @spite's excellent Spherical Environment Mapping code, to give your models a nicer lighting.

Read up on Spherical Environment Mapping here: https://www.clicktorelease.com/blog/creating-spherical-environment-mapping-shader
More matcaps pulled from here: http://sespider.deviantart.com/art/163-FREE-MatCaps-258893793
Usage:
var MatcapMaterial = require('three-matcap-material')(THREE)
var material = new MatcapMaterial(type)
mesh.material = materialType can be "shinyblack", "skin", "scary", or "softred". You can also pass in your own lit sphere image.
