OpenGL/GLSL: Render to cube map?
- by BobDole
I'm trying to figure out how to render my scene to a cube map. I've been stuck on this for a bit and figured I would ask you guys for some help. I'm new to OpenGL and this is the first time I'm using a FBO.
I currently have a working example of using a cubemap bmp file, and the samplerCube sample type in the fragment shader is attached to…