Added a link to the blog post that explains the 4 point gradient texture.

This commit is contained in:
Mr.doob
2010-11-19 00:24:31 +00:00
parent 0610f5734f
commit 7277cc4ade
+2
View File
@@ -901,6 +901,8 @@ THREE.CanvasRenderer = function () {
function getGradientTexture( c1, c2, c3, c4 ) {
// http://mrdoob.com/blog/post/710
_pixelMapData[ 0 ] = c1[ 0 ];
_pixelMapData[ 1 ] = c1[ 1 ];
_pixelMapData[ 2 ] = c1[ 2 ];