Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / bump mapping using simple DBPro blending operations - no shader

Author
Message
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 14th May 2015 15:23
The attached demo is a tidied up version of an old one which showed how to use blend mode 24 (D3DTOP_DOTPRODUCT3) to achieve a bump mapping effect. The dba code contains some explanatory notes.



Powered by Free Banners

Attachments

Login to view attachments
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 14th May 2015 15:28 Edited at: 14th May 2015 15:29
Sample screenshot:





Powered by Free Banners

Attachments

Login to view attachments
LBFN
18
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 14th May 2015 20:43
This is pretty cool, thank you. I don't remember seeing it before.

So many games to code.....so little time.

Login to post a reply

Server time is: 2025-05-13 21:32:09
Your offset time is: 2025-05-13 21:32:09