Skip to content

Latest commit

 

History

History

webgl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WebGL version

This is the WebGL 1 version, viewable here

glMatrix.js is used for vectors and matrices computations, and webgl-obj-loader.js for 0BJ loading. Meshes are loaded at launch from their directory, and shaders are stored as strings in a separate Javascript file. The textures resolution has been divided by 2, specular/shininess maps and reflection mapping are also not used, replaced by constant values.

The shadows are computed using the Variance shadow mapping technique, giving smoother results than a simple shadow map.

No interaction in this one for now (TODO: implement a trackball in Javascript).