http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/World_To_Camera_Matrix&feed=atom&action=historyUnity Products:Amplify Shader Editor/World To Camera Matrix - Revision history2024-03-29T07:45:53ZRevision history for this page on the wikiMediaWiki 1.40.1http://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/World_To_Camera_Matrix&diff=755&oldid=prevAmplifyWiki: 1 revision imported2023-12-02T00:06:23Z<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:06, 2 December 2023</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>AmplifyWikihttp://wiki.amplify.pt/index.php?title=Unity_Products:Amplify_Shader_Editor/World_To_Camera_Matrix&diff=754&oldid=prevampwiki>Amplify RnD Rick at 16:02, 24 August 20212021-08-24T16:02:40Z<p></p>
<p><b>New page</b></p><div>[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]<br />
<br />
== World To Camera Matrix Node ==<br />
<br />
The World To Camera Matrix node returns something in the likes of the view matrix which can be used to transform a position or direction from World to View/Camera space.<br/><br />
This is ''in the likes'' as for rendering, view space's forward is -z and camera matrices matches the script component's matrices(+z forward).<br />
<br/><br/><br />
'''NOTE 1:''' 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.<br />
<br/><br />
<br />
<img class="responsive-img" src="http://wiki.amplify.pt/images/Nodes/WorldToCameraMatrix.jpg"><br />
<br/><br/><br />
{| class="wikitable" style="width: 100%;"<br />
|- <br />
! style="width: 10%;" | Output Port !! Description !! style="width: 10%;" | Type<br />
|- <br />
| Out<br />
| Returns current world to camera matrix value.<br />
| Matrix4x4<br />
|}<br />
<br />
<br />
[[Unity_Products:Amplify_Shader_Editor/Nodes | Back to Node List]]<br />
[[Category:Nodes]][[Category:Matrix Transform]]</div>ampwiki>Amplify RnD Rick