有哪些可能的shadowMapTypes?

时间:2013-02-28 16:38:06

标签: three.js

渲染器有哪些可能的shadomMapType?

目前我知道3: 三

PCFShadowMap
PCFSoftShadowMap
PCFBasicShadowMap

1 个答案:

答案 0 :(得分:1)

shadowMap类型为:

THREE.BasicShadowMap = 0;
THREE.PCFShadowMap = 1;
THREE.PCFSoftShadowMap = 2;

PCF代表百分比关闭过滤(http://fabiensanglard.net/shadowmappingPCF/

three.js r.96