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.

Dark GDK / Example of Bump Mapping ?

Author
Message
Anton
15
Years of Service
User Offline
Joined: 5th May 2009
Location: Ohio
Posted: 7th May 2009 01:45
I've been in attempt to find out the correct info on bump mapping and using dbSetBumpMappingOn(). Can someone post an example in code on how to properly do it, if it works. Or does this work?

Please if you do not know the answer to this, don't make a guess. I would like this to be a final answer thread if one exists.

Thank you.
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 8th May 2009 12:03 Edited at: 8th May 2009 12:04
It seems that dbSetBumpMappingOn is obsolete, you should use a normal map shader. It is easy to translate the examples in the DBPro forum:

Normalmapping for Dark Basic

Have a look to the project posted by Green Gandalf.

Login to post a reply

Server time is: 2024-11-05 18:56:08
Your offset time is: 2024-11-05 18:56:08