1. 30 Nov, 2010 5 commits
  2. 29 Nov, 2010 2 commits
    • alteredq's avatar
      Synced with mrdoob's branch. · 14bccd81
      alteredq authored
      14bccd81
    • alteredq's avatar
      Added MeshShaderMaterial (and Fresnel shader as its first example). · 45b3ceb7
      alteredq authored
      MeshShaderMaterial is still work in progress, expect changes.
      
      Nice side effect of WebGLRenderer refactoring: optimized one significant bottleneck (with noticeable effect on framerate in some demos), typed arrays corresponding to matrix uniforms are now set (instead of being created anew in each frame).
      
      Also created fully full build, with all extras included. This helps with deployment, especially when multiple versions of Three have to coexist in the same folder structure (got burned on this few times already).
      45b3ceb7
  3. 27 Nov, 2010 1 commit
  4. 26 Nov, 2010 6 commits
  5. 25 Nov, 2010 8 commits
  6. 24 Nov, 2010 16 commits
  7. 23 Nov, 2010 2 commits
    • alteredq's avatar
      In WebGLRenderer transparent materials are now handled in the same pass as... · 8f38ddca
      alteredq authored
      In WebGLRenderer transparent materials are now handled in the same pass as blended materials (resulting in better fake transparency ;)
      
      The order of render passes is now following:
      
      1. opaque materials with normal blending
      
      2. opaque materials with additive blending
      3. opaque materials with subtractive blending
      
      4. transparent materials with additive blending
      5. transparent materials with subtractive blending
      6. transparent materials with normal blending
      
      With growing number of passes it's possible it may be worth to do some pre-sorting, though it would have to be tested.
      
      Current way is fairly cheap as if there are no corresponding materials in the pass, for loops just blast through (potentially many very cheap operations).
      
      Pre-sorting would mean creating arrays on the fly in each frame (one expensive operation with effect on garbage collection, which especially Firefox is currently very bad at).
      8f38ddca
    • alteredq's avatar
      Added option to OBJ converter allowing to invert material transparency (some... · 4adb1eea
      alteredq authored
      Added option to OBJ converter allowing to invert material transparency (some models interpret 0 as opaque and 1 as transparent).
      4adb1eea