Entries from 2016-08-01 to 1 month
The key is glFramebufferTexture2D in creating FBO. The image is rendered to the bound image buffer through the attachment point. /* texId[0] = texture from resource file texId[3] = texture on the fly in Frame Buffer 1 */ //////////////////…