Re: Rendering not working with GL3 or 4
Posted by The Typhothanian on Sep 28, 2024; 8:06pm
URL: https://forum.jogamp.org/Rendering-not-working-with-GL3-or-4-tp4043534p4043536.html
Yeah, I did that. Figured out the problem is that the vertex attrib pointer gets deleted or something? Calling it again before rendering fixes the issue. Right now the first frame renders fine, then on the second frame the cube I'm rendering turns into a right triangle. Shader's fine. However, this shouldn't have to be the case. Why would I have to redo the VAP?