fortmeier / weltfrieden

9 stars 1 forks source link

move transformations to Vertex Shader #10

Open lennart opened 8 years ago

lennart commented 8 years ago

the current fragment shader implementations for plane, circle and tri does really stupid and inefficient 2d-collision detection to rotate objects. this can be simplified by simply rotating scaling and translating the vertices in the vertex shader stage.

However, one has to take care of the following things for images: