Added alphaTest parameter to base Material plus corresponding shader chunk in...
Added alphaTest parameter to base Material plus corresponding shader chunk in standard materials implementation. This is for having on/off transparency without sorting using threshold value in alpha channel of diffuse texture. By default it's switched off (alphaTest = 0). AlphaTest is not yet handled in shadow maps. This would require passing of diffuse texture to depth material in shadow map render step (and more permutations of depth material).
Showing
此差异已折叠。
想要评论请 注册 或 登录