mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-10 05:26:11 +10:00
Added a link to the blog post that explains the 4 point gradient texture.
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user