The Ordinary
11-11-2008, 06:22 AM
Hi
I am using GLSL code to add the rows of a texture together.
So i take an nxn sized texture and make it a 1xn texture.
what is the easiest way to do this?
at the moment im using a for loop to do it. but for larger sized textures this is going to be slow.
Thanks
I am using GLSL code to add the rows of a texture together.
So i take an nxn sized texture and make it a 1xn texture.
what is the easiest way to do this?
at the moment im using a for loop to do it. but for larger sized textures this is going to be slow.
Thanks