浏览代码
Improve camera relative rendering precision on object - Apply camera translation on the model matrix - Add a function GetObjectPositionWS - User are required to always used TransformObjectToWorld or GetObjectToWorldMatrix, they should never access to UNITY_MATRIX_M - When a user want absolute world position it must use GetAbsolutePositionWS(positionWS). positionWS is either camera relative space or absolute position depends on settings, only a call to GetAbsolutePositionWS() guarantet that we are in absolute position/main
sebastienlagarde
6 年前
当前提交
ee31a3ad
共有 4 个文件被更改,包括 31 次插入 和 8 次删除
正在加载...
Reference in new issue