fixed JmeBatchRendererBackend that was not properly reseting the forcedRenderState of the renderer causing depth test and depth write to be disable once th first frame was rendered
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10630 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
4d1e3dc9b5
commit
e2614b51c7
@ -452,6 +452,7 @@ public class JmeBatchRenderBackend implements BatchRenderBackend {
|
||||
|
||||
material.setTexture("ColorMap", textureAtlas);
|
||||
material.render(meshGeometry, renderManager);
|
||||
renderManager.setForcedRenderState(null);
|
||||
}
|
||||
|
||||
private RenderState.BlendMode convertBlend(final BlendMode blendMode) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user