Hi,
For a custom shader I need to use the TDInstanceMat() function. When not putting anything into one of the rotation fields on the instance page (but still having stuff in translate or scale fields) the function returns the identity matrix. I can get the correct matrix by setting one of the rotate fields (even a rotation value of zero returns a correct matrix). This seems like an odd behavior.
I’ve made a quick example of the issue here :
TDInstanceMat_issue.tox (2.7 KB)
Thanks in advance
-Alex
Edit :
Build is 2021.14360
On windows