res-avatar-unity/Assets/RalivDynamicPenetrationSystem/Plugins/RalivDPS_VertInject.cginc
2023-07-15 19:51:23 -07:00

14 lines
321 B
HLSL
Executable file

#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