threejs材料的transparent,opacity,emissiveIntensity,envMapIntensity属性

transparent
官网解释:
Defines whether this material is transparent(透明). This has an effect on rendering as transparent objects need special treatment and are rendered after non-transparent objects.
When set to true, the extent to which the material is transparent is controlled by setting it’s opacity property.
Default is false.

opacity透明度(可以调节透明的程度,0.0表示完全透明,1.0表示完全不透明)
需要搭配transparent一起使用,使用前需要开始transparent(transparent : true)
官网的解释:
Float in the range of 0.0 - 1.0 indicating how transparent the material is. A value of 0.0 indicates fully transparent, 1.0 is fully opaque(不透明).
If the material’s transparent property is not set to true, the material will remain fully opaque and this value will only affect its color.
Default is 1.0.

emissiveIntensity
官网解释:
Intensity of the emissive(放射) light. Modulates the emissive color. Default is 1.

.envMapIntensity : Float
官网解释:
Scales the effect of the environment map by multiplying its color.

**Blending **(控制前后背景的融合方式)
需要搭配transparent一起使用,使用前需要开始transparent(transparent : true)
控制背景与前景的融合方式
THREE.NoBlending
THREE.NormalBlending
THREE.AdditiveBlending
THREE.SubtractiveBlending
THREE.MultiplyBlending
THREE.CustomBlending

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值