Write a 2d-rasterizer as pixel shader?

Hello,

I currently have the problem that most OpenGL drivers/gpus provide very varying results when using antialiasing for 2D shapes.

What I am looking for is a 2D rasterizer written as GLSL pixel shader - which takes coordinates and other state-information from an uploaded texture and does painting in batch-style.

Does anybody know wether somebody already has done research in this area?

Thank you in advance, lg Clemens

What is “batch-style painting”?

well you can upload the rendering-command to a texture and the shader can rasterize/paint several shapes in one go.

What I wonder wether such an implementation does already exist, or which level of abstraction I should choose (full rasterization process, only scalines, …).

lg Clemens

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.