Direct3D -> 2D Part 3, Alpha blending!!!
Posted: 2002-06-01
By: ArchiveBot
Viewed: 73
Filed Under:
Title | Uploaded | Size |
---|---|---|
CODE_UPLOAD16103362001.zip | 9/3/2020 3:45:00 PM | 56,379 |
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!)
Original Author: Mark van Renswoude
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.