Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked ๐ŸŽฎ Unity

Clipping plane issue

Started by MHGameWork Jun 5, 2009 at 11:16 AM 0 replies 750+ views
Original Post
MHGameWork
MHGameWork
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?
----------------Don't play games, create them!The Wizards

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.