mirror of https://github.com/axmolengine/axmol.git
setTransparent for mesh command
This commit is contained in:
parent
db2b2cf0b8
commit
410d09525f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue