r/opengl 5m ago

I made my first game on my own C++ engine — and someone already put it in a video!

Post image
Upvotes

I released my first game and someone has put it into a video! It is a little horror themed, cozy farming sim I built it from scratch using OpenGL and all that hard work paid off!

I'm just really excited is all 😁

Video: Round And Ripe played by PumpkinHeadGamer
Game: Round And Ripe


r/opengl 22h ago

Frame buffer renders black

1 Upvotes

I'm attempting to render on a custom frame buffer, which I then want to display on a quad, but the quad simply turns black. If I change the shader to render a solid color, it works fine, so it's no a shader issue. I've been googling this for hours, but all i was able to find is this. It seems to be partially correct, because if I don't bind the texture, I at least get the clear color on my quad.

My code is here. The frame buffer is handled in src/rendering/Screen.cs. I would really appreciate it if someone could look it over.