Closed Spphire closed 8 months ago
at readme:
Does that mean the func will use i.vertex to calculate, so i need to name the variable of positonWS as "vertex"?
this is the input of my frag func: struct CharCoreVaryings { float4 positionHCS : SV_POSITION; float3 normalWS : NORMAL; float4 color : COLOR; float4 uv : TEXCOORD0; float3 positionWS : TEXCOORD1; };
rename "positionWS" as "vertex"?
at readme:
Does that mean the func will use i.vertex to calculate, so i need to name the variable of positonWS as "vertex"?
this is the input of my frag func: struct CharCoreVaryings { float4 positionHCS : SV_POSITION; float3 normalWS : NORMAL; float4 color : COLOR; float4 uv : TEXCOORD0; float3 positionWS : TEXCOORD1; };
rename "positionWS" as "vertex"?