Jump to content
  • Advertisement
Sign in to follow this  
Tasaq

Decals with Texture Arrays

This topic is 1864 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,

 

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!