1
General / Re: Fastest way to update screen from pixels.
« on: June 21, 2015, 02:44:57 pm »
Well, what I want to achieve is a little more complicated. I want to make an isometric engine that sorts pixels by the depth they appear on scene and alpha composites the result, so for each screen pixel coordinate in the screen i need to check if it belongs to a sprite and if it does, add it to an array of pixels at that position, then sort the pixels in this array based on it's depth, calculated elsewhere.
I've searched for alternative methods, that would use GLSL. But due to it's big limitations (like lack of ability to store sampler objects in an array) it seems impossible.
I've searched for alternative methods, that would use GLSL. But due to it's big limitations (like lack of ability to store sampler objects in an array) it seems impossible.