Hi, I’m trying to do this with deferred rendering and have a surprising issue - at certain camera angles the world pos (unity_ObjectToWorld._m03_m13_m_23) jumps to (0,0,0).
This confuses me, because to my understanding ObjectToWorld should be independent of the camera? I don’t get why the transformation between object and world space would be affected by the projection matrix at all, to my understanding they should be completely separate.
The issue is not there in forward rendering mode.
If anyone with more insight could help explain that would be much appreciated!