init
This commit is contained in:
commit
2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions
15
gamedata/shaders/r2/shadow_base.ps.hlsl
Normal file
15
gamedata/shaders/r2/shadow_base.ps.hlsl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include "common.hlsli"
|
||||
|
||||
float4 main(p_shadow I) : COLOR0
|
||||
{
|
||||
#ifdef USE_AREF
|
||||
float4 C = tex2D(s_base, I.tc0);
|
||||
clip(C.w - def_aref);
|
||||
#endif
|
||||
|
||||
#ifdef USE_HWSMAP
|
||||
return 0;
|
||||
#else
|
||||
return I.depth;
|
||||
#endif
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue