Remove z-fighting kludge

This was actually introducing z-fighting artefacts with the new shader and no added geometry.
This commit is contained in:
fieldOfView 2017-09-12 15:06:06 +02:00
parent ec6fa19d4e
commit 4c9028b3d0
2 changed files with 0 additions and 4 deletions

View file

@ -181,7 +181,6 @@ class BuildVolume(SceneNode):
self._grid_shader.setUniformValue("u_plateColor", Color(*theme.getColor("buildplate").getRgb()))
self._grid_shader.setUniformValue("u_gridColor0", Color(*theme.getColor("buildplate_grid").getRgb()))
self._grid_shader.setUniformValue("u_gridColor1", Color(*theme.getColor("buildplate_grid_minor").getRgb()))
self._grid_shader.setUniformValue("u_z_bias", 0.000001)
renderer.queueNode(self, mode = RenderBatch.RenderMode.Lines)
renderer.queueNode(self, mesh = self._origin_mesh)