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 .NET / Shaders

Author
Message
madmunkey
10
Years of Service
User Offline
Joined: 9th May 2012
Location: United Kingdom
Posted: 20th May 2012 17:20
Has anyone got any examples on how to do a bumpmapping effect or can convert these to DarkGDK.NET

http://www.evolved-software.com/shaders/bumpmapping
Morcilla
19
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 1st Jun 2012 17:10 Edited at: 1st Jun 2012 17:10
Shaders in HLSL are DGDK.net/DBPro independent, they do not need to be changed.
I suggest to use a DBPro example as pseudo code for DGDK.net translation.
Start with a simple shader example and, once you got it translated and working, go for the complex ones.
Usually bump mappings shaders are nowadays replaced in DX by normal map shaders. You can find the HLSL source code in the DBPro forum.
It should work.

Login to post a reply

Server time is: 2022-08-07 17:58:55
Your offset time is: 2022-08-07 17:58:55