hellcat-nardo-felidal/Assets/RalivDynamicPenetrationSystem/Plugins/RalivDPS_VertInject.cginc

14 lines
321 B
HLSL
Raw Normal View History

2023-09-10 04:16:23 +00:00
#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