- Home /
Question by
jamie lowes · Oct 18, 2012 at 12:32 PM ·
graphicsglquadsdraw order
When should I call GL.Begin/End?
I have two situations where I want to draw quads, using GL.Begin/End:
1) A full screen quad as a background, behind the 3D scene.
2) 3D transparent quads as a trail behind an object in the scene.
I want to draw my full screen quad as the first thing after the z-buffer is cleared. Note: I'm not going to clear the colour buffer, since I'm going to write over it all straight away.
I want the trail to be drawn last.
Which MonoBehaviour method should I put the draw calls in for 1, and which one for 2?
Thanks in advance!
Comment
Your answer
Follow this Question
Related Questions
GL not drawing in 3D? 0 Answers
Graphics library 1 Answer
gl class iOS 1 Answer
GL and Graphics library free in Unity 4.0 0 Answers
Coloring polygons using GL.QUADS 0 Answers