add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
20
gamedata/shaders/r3/shadow_direct_base_aref.ps
Normal file
20
gamedata/shaders/r3/shadow_direct_base_aref.ps
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include "common.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Pixel
|
||||
float4 main ( p_shadow_direct_aref I ) : SV_Target
|
||||
{
|
||||
#ifdef USE_HWSMAP
|
||||
// return tex2D (s_base, I.tc0);
|
||||
float4 C = s_base.Sample( smp_linear, I.tc0);
|
||||
clip (C.w - def_aref);
|
||||
return C;
|
||||
#else
|
||||
// 1. Base texture + kill pixels with low alpha
|
||||
float4 C = tex2D (s_base, I.tc0);
|
||||
clip (C.w - def_aref);
|
||||
|
||||
// 2.
|
||||
return I.depth;
|
||||
#endif
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue