首页 > 其他 > 详细

一个奇怪的透明遮罩问题

时间:2015-06-14 18:12:01      阅读:172      评论:0      收藏:0      [点我收藏+]

技术分享技术分享

I make some code like set2D on sprite3d to make sprite3d show on ui.
```
if (_b2D == true)
{
flags &= ~FLAGS_RENDER_AS_3D;
}
```
and
```
if (_b2D == true)
{
meshCommand.set3D(false);
}
```
and it works, the sprite3d show normal on the ui
then I make some normal sprite3d on the 3d layer,

but when i open the ui, the ui‘s sprite3d show with a transparent mask of the normal sprite3d

who can tell me why?

 

一个奇怪的透明遮罩问题

原文:http://www.cnblogs.com/flamefox/p/4575342.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!