setTransparent for mesh command

This commit is contained in:
yangxiao 2015-05-29 16:38:42 +08:00
parent db2b2cf0b8
commit 410d09525f
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@ void Mesh::draw(Renderer* renderer, float globalZOrder, const Mat4& transform, u
_meshCommand.setSkipBatching(isTransparent); _meshCommand.setSkipBatching(isTransparent);
_meshCommand.setTransparent(isTransparent);
// set default uniforms for Mesh // set default uniforms for Mesh
// 'u_color' and others // 'u_color' and others