michael-fadely / sadx-d3d11

MIT License
9 stars 3 forks source link

2D Sprites in fragment buffer #11

Open michael-fadely opened 6 years ago

michael-fadely commented 6 years ago

2D sprites should be drawn after the OIT composite stage. All 2D sprites in the game to my knowledge are overlays anyway.

The complicated part will be storing blend states, texlists, etc to defer drawing. I've considered the idea of drawing them immediately to another render target, but then alpha blending becomes an issue.