Trying to replace glClear with a rect, but zbuffer isn't clearing. Enable depth test, GL_ALWAYS, depth mask TRUE, VS writes gl_Pos.zw = 1,1.
@nothings @casseveritt @g_truc My experience has always been that clears are scissored. They just aren't _viewport_ constrained, IIRC.
-
-
@cmuratori@casseveritt@g_truc Maybe I had some bad experience along those lines ten years ago that confused me? -
@cmuratori@casseveritt@g_truc Of course, the scissored version isn't work correctly, but that may just be exposing some other bug.
End of conversation
New conversation -
-
-
@nothings@casseveritt@g_truc Ie. scissor is required to clip clears, whereas prims are clipped by the viewport due to actual clipping. -
@nothings@casseveritt@g_truc That is what I remember being true. Which, due to@rygorous's other rule, must be partially wrong :P - Show replies
New conversation -
-
-
@cmuratori@nothings@g_truc Kurt Akeley told me one day, "viewport is just a transform"... And I felt so stupid. -
@casseveritt@nothings@g_truc I don't know that I agree with that. Isn't it a transform _and_ a set of clipping planes? - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.