You are browsing as a guest. Sign up (or log in) to start making projects!

2h 38m 12s logged

BAD APPLE!!

I’ve been adding the basic OpenGL implementations for a very simple texture and shader “classes” (theres no such thing as a class in C of course). This works kind of like a refresher course for me as I already though I was proficent enough with opengl, maybe once i ship this i might try to re do this but using vulkan :fear: instead.

What have i added?

  • The shader class, which reads the glsl source files (not pre-compiled) and compiles them in real time, not very fancy right now

  • A texture class that updates in real time to what frame was given by the video section, correctly set to linear color correction and uses rgb24

Now i will add a super simple quad implementation where the shader will render to, on top of the screen buffer

What i still need to figure out

I dont think that OpenGL can get the screen buffer with the pixel colors of whats behind the screen, even when the glfw window is entirely transparent, I’ll do some more research to see what to do


I’ve thought that this program might actually be a lot more useful that what im currently making it look. In the end you can quickly change the glsl shader to have completely different results and also upload any kind of video you want…

PD: the window you see in the video is green just so you can see it at all, but in the final version it will be completely transparent

0
22

Comments 0

No comments yet. Be the first!