It looks like you're new here. If you want to get involved, click one of these buttons!
Show your games!
3dDRAW to a defined viewport?
Is there any way to define/limit the draw to a viewport rather than full window?
It looks like there is a gl.Viewport function out there. Maybe I will see if I can get at it but I feel like it won't be as easy as it seems like it should be.
why you need that?
OpenGL has glScissor function but it's not exposed by raylib...
You can use a RenderTexture2D to render to texture and then render texture to screen, check shaders_custom_uniform for a working example.
Worked first try. Glad I asked. Thank you!
Powered by Vanilla