Direct3D -> 2D Part 3, Alpha blending!!!
I'm back, with Part 3 of creating 2D graphics using Direct3D. Part 3 is built on top of Part 1, still displaying the Mario character running around in circles, but contains some additions which I just found out: Alpha blending! (you can change the alpha value, as shown in the demo) Faster way of faking light! (this time, not using vertex color, but simply drawing a bitmap alpha-blended over the scene, more accurately simulating lighting) Using DirectDraw in combination with Direct3D! (allowing for large surfaces to be drawn, like the background) The 33 FPS in the screenshot are from my P133, however, if I turn off the background it instantly goes to 60 FPS (the maximum, since that's my monitor's refresh rate)... Enjoy! And don't forget to leave comments (and vote!)
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload