Sign in to follow this  
Ivan Ivanovski

Decals in XNA or DirectX9

Recommended Posts

Hi everybody,

 

Can some of you guys tell me how to make decals in XNA?

I was trying to tackle this problem for a while, but I haven't had any progress. 

Please help, it's getting quite depressing.

 

I want to have this as final result http://www.youtube.com/watch?v=1vnRV-1S65I.

We already have the terrain painting. :)

 

BGH

Share this post


Link to post
Share on other sites

Decals are just quads that are overlaid over the object below it, usually you use projective texturing for this so that it looks like it is on top of the object below. I would start with a simple flat surface.

 

http://blog.wolfire.com/2009/06/how-to-project-decals/

 

I've seen this blog post. It's ok, but I was wandering if it is possible to get some easier way to do it, and also to use it in real time.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this