18 May 2015


##Blender Cycles Baked Open Shading Language Texture and Three.js This demo covers baking Sony’s OSL shaders onto a model and then exporting the texture for three.js. It also covers how to calculate the vertex normals after they have been imported as the JSON loader does not import this information (i.e. it allows for the SmoothShading and FlatShading function to work properly in three.js).

##Code Pen

See the Pen Blender to THREE.js JSON Open Shading Language Texture Mapping by Patrick (@wpdildine) on CodePen.

##Code Work Flow