Skip to main content
1 of 2
János Turánszki
  • 3.1k
  • 3
  • 18
  • 24

You need a directional lighting. Also disable specular lighting if you want screen position not to matter. This type of directional lighting is achieved by:

float lighting = saturate(dot(normal,lightDirection)); 

But you can enable it in a BasicEffect, too. If you want speculars gone, turn down the material's specular intensity to zero (you can also do it in the BasicEffect by setting SpecularColor to black).

János Turánszki
  • 3.1k
  • 3
  • 18
  • 24