4 questions
3
votes
1
answer
1k
views
How to enable Anti-aliasing in Moderngl EGL backend?
This code renders a colored triangle when there is no anti-aliasing (samples=0). But when I turn on anti-aliasing (samples=1...32) it can't render anything. How to make it work with anti-aliasing?
...
3
votes
1
answer
784
views
How to add a depth buffer in Moderngl EGL backend?
This code renders a colored triangle with anti-aliasing (samples=8) when a depth buffer line depth_attachment=ctx.depth_texture((512, 512), samples=8) is commented.
But when I add a depth buffer it ...
1
vote
0
answers
373
views
AWS Lambda: Unable to find libGL.so package while using moderngl / glcontext
I've tried a lot of solutions to similar issues but I've found that they're not quite specific enough or they're outdated (or maybe I'm not sharp enough!)
I'm packaging some Python code to run on AWS ...
0
votes
1
answer
567
views
How to get render data from (headless) context in ModernGL
After creating a headless context with
ctx = create_context(standalone=True)
ctx.viewport = (0, 0, 500, 500)
and creating a vertex array, I wish to get the image data of vao.render(). Is there any ...