Step 1: Render the Scene to Texture

main.cpp

in main.cpp, we are setting framebuffers and textures

void initRenderToTexture()
{
}

How to output to a texture

How to read from a texture

Last updated