提交 12744d49 编写于 作者: M Mr.doob

Added @alteredq's compressed textures recomendation in the example itself.

上级 802143c5
......@@ -57,6 +57,14 @@
geometry = new THREE.CubeGeometry( 200, 200, 200 );
/*
This is how compressed textures are supposed to be used:
DXT1 - RGB - opaque textures
DXT3 - RGBA - transparent textures with sharp alpha transitions
DXT5 - RGBA - transparent textures with full alpha range
*/
var map1 = THREE.ImageUtils.loadCompressedTexture( 'textures/compressed/disturb_dxt1_nomip.dds' );
map1.minFilter = map1.magFilter = THREE.LinearFilter;
map1.anisotropy = 4;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册