unset MeshLayer heightOffset at start
This commit is contained in:
parent
e9d8cdd329
commit
ab0cadf81f
@ -135,6 +135,7 @@ public class MeshLayer extends RenderElement {
|
||||
m.mvp.setAsUniform(hMatrix);
|
||||
|
||||
float heightOffset = 0;
|
||||
GL.glUniform1f(hHeightOffset, heightOffset);
|
||||
|
||||
for (; l != null && l.type == RenderElement.MESH; l = l.next) {
|
||||
MeshLayer ml = (MeshLayer) l;
|
||||
|
Loading…
x
Reference in New Issue
Block a user