1. 03 8月, 2011 3 次提交
    • M
      Merge remote-tracking branch 'alteredq/dev' into dev · 0113a407
      Mr.doob 提交于
      0113a407
    • A
      Added DataTexture, for creating textures out of raw data. · 01bebe5c
      alteredq 提交于
      DataTexture can be used in the same places like image / video based Texture (WebGLRenderer-only).
      
      To be used like this:
      
      var width = 64, height = 64, bytes = 3;
      var data = new Uint8Array( width * height * bytes );
      
      // fill data array with values 0 .. 255
      
      var texture = DataTexture( data, width, height, THREE.RGBFormat );
      texture.needsUpdate = true;
      
      For the moment only UNSIGNED_BYTE type is supported.
      01bebe5c
    • A
      Added alphaTest parameter to base Material plus corresponding shader chunk in... · dc042582
      alteredq 提交于
      Added alphaTest parameter to base Material plus corresponding shader chunk in standard materials implementation.
      
      This is for having on/off transparency without sorting using threshold value in alpha channel of diffuse texture.
      
      By default it's switched off (alphaTest = 0).
      
      AlphaTest is not yet handled in shadow maps. This would require passing of diffuse texture to depth material in shadow map render step (and more permutations of depth material).
      dc042582
  2. 02 8月, 2011 4 次提交
  3. 01 8月, 2011 4 次提交
  4. 31 7月, 2011 2 次提交
  5. 29 7月, 2011 5 次提交
  6. 28 7月, 2011 5 次提交
  7. 27 7月, 2011 9 次提交
  8. 26 7月, 2011 3 次提交
  9. 25 7月, 2011 4 次提交
  10. 23 7月, 2011 1 次提交