View Full Version : Render to 1D texture

11-03-2007, 08:14 AM
Hi, I'm trying to run a shader program, where I read data from and write data to a 1D texture. I essentially just tried to modify a program I have that works with 2D textures to work with 1D textures. Unfortunately, whenever I run it, I get all sorts of GL_ERRORs and framebuffer unsupported errors. I was wondering if anybody has sample GLSL code for rendering to 1D textures or knows of it or a tutorial somewhere on the Internet?