I am trying to convert an older HLSL projector shader into shader graph. In the HLSL shader, I could get the projector space coordinates having this in the vertex output struct:
output.posProj = mul(unity_Projector, input.vertex);
output.pos = UnityObjectToClipPos(input.vertex);
output.uv = mul(unity_ProjectorClip, input.vertex);
How do you do this in a shader graph shader?
EDIT: Edited a mistake in the code sample