Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Sasstraliss

Member Since 15 Sep 2012
Offline Last Active Oct 15 2012 06:18 AM

Posts I've Made

In Topic: C# XNA Normals, Diffuse, and Specular for a Model?

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? 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.

PARTNERS