jeromeetienne / threex.geometricglow

a three.js extension to make any object glow at geometric level
http://jeromeetienne.github.io/threex.geometricglow/examples/geometricglowmesh.html
219 stars 38 forks source link

fix normal computation #1

Open jeromeetienne opened 11 years ago

jeromeetienne commented 11 years ago

it is currently wrong. it is observable when the object rotation on y

jeromeetienne commented 11 years ago

stuff from bai which may inspire a solutioon

[9:20pm] bai: https://github.com/jbaicoianu/elation-component-space/tree/master/images/shaders
[9:20pm] bai: there are several combos, depending on whether you're inside the atmosphere or outside of it
[9:21pm] bai: it's based on this http://http.developer.nvidia.com/GPUGems2/gpugems2_chapter16.html