Dreamcast Lighting Engine With Bumpmapping
Posted: Sat Feb 21, 2015 11:02 pm
So I've had this project cooking on the back burner for quite some time and now that I have a Broadband Adapter development has accelerated and I've decided to release it to the public: https://github.com/Light-Dark/dclightengine
This is a very basic dynamic lighting engine for the Sega Dreamcast that incorporates bumpmapping and will hopefully serve as a decent reference for those wishing to use the feature on the system. The main lighting routine is written in sh4 assembly for speed whilst the bumpmapping calculations are largely done C-side using the special math macros provided by KOS to be more comprehensible for those who aren't comfortable with sh4 asm . Depending on your method of testing you may have to mess with the makefile a bit. Enjoy, I guess!
This is a very basic dynamic lighting engine for the Sega Dreamcast that incorporates bumpmapping and will hopefully serve as a decent reference for those wishing to use the feature on the system. The main lighting routine is written in sh4 assembly for speed whilst the bumpmapping calculations are largely done C-side using the special math macros provided by KOS to be more comprehensible for those who aren't comfortable with sh4 asm . Depending on your method of testing you may have to mess with the makefile a bit. Enjoy, I guess!