Page 1 of 1
Fix gl.DrawGroundQuad
Posted: 27 Jan 2011, 08:36
by Google_Frog
gl.DrawGroundQuad with gl.DepthTest(true) clips into hills on sloping terrain. It should not clip into the terrain (like gl.Utilities.DrawGroundCircle in ZK).
Re: Fix gl.DrawGroundQuad
Posted: 27 Jan 2011, 10:00
by jK
Status: close
Resolution: can't fix
Re: Fix gl.DrawGroundQuad
Posted: 27 Jan 2011, 11:16
by Google_Frog
Aww... How about the ability to edit the map texture with lua?
Re: Fix gl.DrawGroundQuad
Posted: 27 Jan 2011, 13:35
by jK
the same
Re: Fix gl.DrawGroundQuad
Posted: 27 Jan 2011, 13:43
by zwzsg
Spring.SetDrawGround(false) and your Lua doodles won't clip into the terrain. Yes, quite a radical solution, but works for me.
Re: Fix gl.DrawGroundQuad
Posted: 30 Apr 2011, 21:36
by Cheesecan
Why can't it be fixed? It is a big problem to not be able to draw on bumpy terrain. Spring.SetDrawGround(false) doesn't seem to help prevent clipping anymore?
Re: Fix gl.DrawGroundQuad
Posted: 18 Jul 2011, 13:04
by Google_Frog
I saw this commit.
https://github.com/spring/spring/commit ... 63e57f3aca
Does it do what I think it does and how does it work?