Jump to content
  • Advertisement
Sign in to follow this  
jammyt

Displacement Maps

This topic is 5474 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Folks, Does anybody know of any good tutorials on how to implement Displacement Maps in DirectX? I've searched Google and can't find anything decent. Many thanks Jam

Share this post


Link to post
Share on other sites
Advertisement
Check out NVidia's SDK 8.0 at this site (it appears to be down, at the moment). The SDK has a sample titled "Simple vertex texture example" which uses displacement mapping with vs_3_0.

Some of the other samples are really cool, too, like HDR Deferred shading and mesh instancing. It also comes with tons of HLSL shaders.

Share this post


Link to post
Share on other sites
circlesoft, cheers for that, does anybody have an example using DirectX and not OpenGL though?

lxxxk, not got a 6800 yet but want to try it out using software ref before I buy a new card.

Surely there must be a DirectX example somewhere?

Share this post


Link to post
Share on other sites
Quote:
Original post by jammyt
circlesoft, cheers for that, does anybody have an example using DirectX and not OpenGL though?
The important portion of this sample resides in the vertex shader, so it shouldn't take much effort to convert from OpenGL to DirectX. CG and HLSL are practically identical. All you would have to do is change the shaders to be compatable with the effect framework.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!