res-avatar-unity/Assets/RalivDynamicPenetrationSystem/Plugins/RalivDPS_VertInject.cginc

14 lines
321 B
HLSL
Raw Permalink Normal View History

2023-07-16 02:51: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