Sign in to follow this  

Shadow moves with camera

Recommended Posts


I am trying to implement some basic shadow mapping and using this site [url=""][/url]

I noticed with this demo that the shadow moves/rotates with when the camera/viewport move/rotates. How do i stop it doing this. Sorry i am still trying to understand the matrix stuff in that demo.


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