cyanskies / hades

A 2d game framework
1 stars 0 forks source link

Sprite batch: multiple rendering passes #123

Open cyanskies opened 2 years ago

cyanskies commented 2 years ago

Render each layer to a rendertarget and then render that to the screen using the sprites animation shader.

cyanskies commented 2 years ago

requires a 3.1 context. and a 3.0 ES context.

Decide if we use DrawArray or DrawElements.

EDIT: nevermind for 2d buffered rendering is hard to beat.

cyanskies commented 2 years ago

Still need this ticket for multiple rendering passes.