Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This header-only hpp library can be used to adjust the rendered result of an existing OpenGL code without the need to inspect the code too much.

License

Notifications You must be signed in to change notification settings

ichlubna/OpenGLInjector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This class can be simply injected into an existing OpenGL code to apply some post processing effects on the rendered result. Simply include the hehpp file and create an instance of GLInjection class. Then init the object somewhere where the scene is initialized so that the init function is called only once. Add the call to render function right before the swapping of the buffers or other kind of frame buffer presentation mechanism. For example, right before the call of glfwSwapBuffers or SDL_GL_SwapWindow. Edit the fragment shader to adjust the effects. An example with LearnOpenGL tutorial is placing the init here and render here.

About

This header-only hpp library can be used to adjust the rendered result of an existing OpenGL code without the need to inspect the code too much.

Topics

Resources

License

Stars

Watchers

Forks

Languages