haskell-opengl / OpenGL

Haskell bindings to OpenGL
http://www.haskell.org/haskellwiki/OpenGL
BSD 3-Clause "New" or "Revised" License
147 stars 26 forks source link

GL3.0 layered texture targets #11

Open Laar opened 13 years ago

Laar commented 13 years ago

One- and two-dimensional layered texture targets Not at a specific section, it's littered throughout OpenGL 3.0 spec section 3.9

svenpanne commented 10 years ago

I think this refers to http://www.opengl.org/registry/specs/EXT/texture_array.txt. At least parts of it are already there, you can e.g. use the 1D/2D texture array targets now, but there might be some stuff still missing.

jragonfyre commented 7 years ago

Specifically it really shouldn't be hard to wrap the glFramebufferTexture function in the same manner as glFramebufferTexture1D and glFramebufferTexture2D. This seems like a really obvious and easy to add missing function. I might add this and make a pull request if I find time. Currently it is impossible to bind a cubemap for single pass shadow map or reflection map rendering.