Unity Products:Amplify Shader Editor/Weighted Blend and Unity Products:Amplify Shader Editor/World To Object Matrix: Difference between pages
(Difference between pages)
ampwiki>Kebrus mNo edit summary |
AmplifyWiki (talk | contribs) m (1 revision imported) |
||
Line 1: | Line 1: | ||
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]] | [[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]] | ||
== | == World To Object Matrix Node == | ||
The | The World To Object Matrix node outputs the current inverse model matrix which can be used to transform either a position or direction vector from world space to object/local space. | ||
'''NOTE:''' | '''NOTE:''' We advise using either the [[Unity_Products:Amplify_Shader_Editor/Transform_Position|Transform Position]] or [[Unity_Products:Amplify_Shader_Editor/Transform_Direction|Transform Direction]] as they are easier to use and you wont need to do an explicit multiplication between matrix and position/direction value. | ||
<img class="responsive-img" src="http://wiki.amplify.pt/images/ | <img class="responsive-img" src="http://wiki.amplify.pt/images/Nodes/WorldToObjectMatrix.jpg"> | ||
{| class="wikitable" style="width: 100%;" | {| class="wikitable" style="width: 100%;" | ||
|- | |- | ||
| | ! style="width: 10%;" | Output Port !! Description !! style="width: 10%;" | Type | ||
|- | |- | ||
| | | Out | ||
| | | Returns current inverse model matrix value. | ||
| | | Matrix4x4 | ||
|} | |} | ||
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]] | [[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]] | ||
[[Category:Nodes]][[Category: | [[Category:Nodes]][[Category:Matrix Transform]] |
Latest revision as of 00:06, 2 December 2023
World To Object Matrix Node
The World To Object Matrix node outputs the current inverse model matrix which can be used to transform either a position or direction vector from world space to object/local space.
NOTE: We advise using either the Transform Position or Transform Direction as they are easier to use and you wont need to do an explicit multiplication between matrix and position/direction value.
Output Port | Description | Type |
---|---|---|
Out | Returns current inverse model matrix value. | Matrix4x4 |