summaryrefslogtreecommitdiff
path: root/VRCSDK3AvatarsQuestLegacy/Assets/Resources/RalivDynamicPenetrationSystem/Plugins/RalivDPS_VertInject.cginc
blob: ffc3637da34d87c4cc2865a70ad5edd820b6005c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifdef RALIV_PENETRATOR
	#ifdef UNITY_PASS_FORWARDBASE
		PenetratorReshape(v.vertex, v.normal);
	#else
		v.vertex=float4(0,0,0,1);
	#endif
#endif
#ifdef RALIV_ORIFICE
	#ifdef UNITY_PASS_FORWARDBASE
		OrificeReshape(v.vertex, v.normal, v.tangent, v.vertexId);
	#else
		v.vertex=float4(0,0,0,1);
	#endif
#endif