CAOR-MINES-ParisTech / colibri-vr-unity-package

This is the Unity package for COLIBRI VR, the Core Open Lab on Image-Based Rendering Innovation for Virtual Reality.
https://caor-mines-paristech.github.io/colibri-vr
Other
50 stars 11 forks source link

Fix disocclusion triangle rendering #6

Closed florian-schweiger closed 4 years ago

florian-schweiger commented 4 years ago

The rubbersheet test computed the angle between a triangle's normal and its position in word coordinates instead of in the frame of the respective reference view.

This PR passes the reference view position to the shader and uses it to transform world to ref. view coordinates.