I am trying to deform mesh in clip space coordinates. To transform vertex position I use two custom nodes using:
for transform to Clip:
mul(float4(In.xyz,1),View.WorldToClip)
and back to world:
mul(float4(In.xyz,1),View.ClipToTranslatedWorld)
But for some reason example below creates orthographic projection…
In example blow, expected result should be- no deformation.
How to get Word to Clip and Reversed transformation in Material Editor?