This commit is contained in:
Vasily Petrov 2026-06-18 01:18:29 +03:00
commit 2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions

View file

@ -0,0 +1,22 @@
#include "common.hlsli"
struct a2v
{
float4 P : POSITION;
};
#ifdef USE_AREF
void main(in v_static I, out p_shadow O)
{
O.tc0 = unpack_tc_base(I.tc, I.T.w, I.B.w);
#else
void main(in a2v I, out p_shadow O)
{
O.tc0 = 0.0f;
#endif
O.hpos = mul(m_WVP, I.P);
#ifndef USE_HWSMAP
O.depth = O.hpos.z;
#endif
}