Skip to content

Commit

Permalink
add comment that HDR-focused encodings do not support transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
bhouston committed Feb 26, 2016
1 parent 2cb466a commit 8898a86
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Three.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,11 @@ THREE.TriangleFanDrawMode = 2;

THREE.LinearEncoding = 3000; // No encoding at all.
THREE.sRGBEncoding = 3001;
THREE.RGBEEncoding = 3002; // AKA Radiance
THREE.GammaEncoding = 3007; // uses GAMMA_FACTOR, for backwards compatibility with WebGLRenderer.gammaInput/gammaOutput

// The following Texture Encodings are for RGB-only (no alpha) HDR light emission sources.
THREE.RGBEEncoding = 3002; // AKA Radiance.
THREE.LogLuvEncoding = 3003;
THREE.RGBM7Encoding = 3004;
THREE.RGBM16Encoding = 3005;
THREE.RGBDEncoding = 3006; // MaxRange is 256
THREE.GammaEncoding = 3007; // uses GAMMA_FACTOR
THREE.RGBDEncoding = 3006; // MaxRange is 256.

0 comments on commit 8898a86

Please sign in to comment.