Jump to content
  • Advertisement
Sign in to follow this  

Decals with Texture Arrays

This topic is 2036 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



I recently noticed that in demo from Microsoft sdk called DecalTessellation11 they iterate through every decal inside shader, and if it is within view, they perform displacement mapping. Is it ok do it that way?


The reason I ask this is because I want to do similar thing to my terrain, but in pixel shader (I don't want to do decal displacement mapping for now). My idea is to create two Texture Arrays, one for decals other for blend maps, so if I have 10 decals I got 3 textures with blend maps. I also would like to add decals that will be created during game, like burn marks or tire skids(so they don't need blend maps).


Would that be very expensive compared to other techniques? If yes what are other better techniques?

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!