Fix #33158: motion vector pass wrong in cycles in some scenes, wrong vectors

due to float precision problem in matrix inverse.
This commit is contained in:
Brecht Van Lommel
2012-11-21 01:00:03 +00:00
parent f43e75c4d6
commit fdadfde5c5
3 changed files with 37 additions and 13 deletions

View File

@@ -82,9 +82,15 @@ public:
Transform screentoworld;
Transform rastertoworld;
Transform ndctoworld;
Transform rastertocamera;
Transform cameratoworld;
Transform worldtoraster;
Transform worldtoscreen;
Transform worldtondc;
Transform worldtocamera;
Transform rastertocamera;
Transform cameratoraster;;
float3 dx;
float3 dy;