Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

#ActualSasstraliss

Posted 14 October 2012 - 10:23 PM

Two things need to happen:

1. You need an Effect that supports normal mapping. The default BasicEffect in XNA doesn't handle normal or specular maps, just diffuse.


How can I do just the diffuse then with the BasicEffect? All the tutorials for BasicEffect I've found only use Diffuse as a DiffuseColor Vector. I actually have an image map for it, which I can't find resources on how to use with BasicEffect.

Also, if I need an effect other than BasicEffect, where can I find resources for it?

I checked out the Normal Mapping example on MSDN, the one with the lizard. Looks mighty complicated.

#3Sasstraliss

Posted 14 October 2012 - 10:21 PM

Two things need to happen:

1. You need an Effect that supports normal mapping. The default BasicEffect in XNA doesn't handle normal or specular maps, just diffuse.


How can I do just the diffuse then with the BasicEffect? All the tutorials for BasicEffect I've found only use Diffuse as a DiffuseColor Vector. I actually have an image map for it, which I can't find resources on how to use with BasicEffect.

Also, if I need an effect other than BasicEffect, where can I find resources for it?

I checked out the Normal Mapping example on MSDN, the one with the lizard.

But it seems like they are making the normals from scratch, I don't see them using a premade normal map image file anywhere...

#2Sasstraliss

Posted 14 October 2012 - 10:08 PM

Two things need to happen:

1. You need an Effect that supports normal mapping. The default BasicEffect in XNA doesn't handle normal or specular maps, just diffuse.


How can I do just the diffuse then with the BasicEffect? All the tutorials for BasicEffect I've found only use Diffuse as a DiffuseColor Vector. I actually have an image map for it, which I can't find resources on how to use with BasicEffect.

Also, if I need an effect other than BasicEffect, where can I find resources for it?

#1Sasstraliss

Posted 14 October 2012 - 10:06 PM

Two things need to happen:

1. You need an Effect that supports normal mapping. The default BasicEffect in XNA doesn't handle normal or specular maps, just diffuse.


How can I do just the diffuse then with the BasicEffect?

Also, if I need an effect other than BasicEffect, where can I find resources for it?

PARTNERS