Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualgeorge7378

Posted 12 April 2013 - 05:34 PM

...aaandddd... here it is! A semi-working effect-file shadow mapping implementation!

 

[attachment=14822:shadowmap!.jpg]

 

As you can see it's not perfect yet (for some reason, the pyramid doesn't have any diffuse lighting even though it's facing the light) but wow - I'm so pleased! I am really looking foward to seeing how this performs in my main game project at the moment!

 

EDIT: I figured out the diffuse problem - I was passing the wrong light location into the shader.


#1george7378

Posted 12 April 2013 - 05:04 PM

...aaandddd... here it is! A semi-working effect-file shadow mapping implementation!

 

[attachment=14822:shadowmap!.jpg]

 

As you can see it's not perfect yet (for some reason, the pyramid doesn't have any diffuse lighting even though it's facing the light) but wow - I'm so pleased! I am really looking foward to seeing how this performs in my main game project at the moment!


PARTNERS