Shader vertex position
Hi,
I can't figure out what's this. Vertex position relative to object position ? World position ? Camera position ? Something else ?
o.vertex = mul(UNITY_MATRIX_P,
mul(UNITY_MATRIX_MV, float4(0.0, 0.0, 0.0, 1.0))
+ v.vertex
* float4(_Scale, _Scale, 1.0, 1.0));
Comment