码迷,mamicode.com
首页 > 其他好文 > 详细

一个奇怪的透明遮罩问题

时间:2015-06-14 18:12:31      阅读:144      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!