Sign in to follow this  

Clipping plane issue

Recommended Posts

Im using a clip plane to render water reflection,refraction. Resources say to transform the plane to viewspace using this matrix(taken from riemers) Matrix worldViewProjection = currentViewMatrix * projectionMatrix; Matrix inverseWorldViewProjection = Matrix.Invert(worldViewProjection); inverseWorldViewProjection = Matrix.Transpose(inverseWorldViewProjection); However, this does not work at all, when i use the ordinary viewproj matrix, it seems to work. Why is this?

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