add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
21
gamedata/shaders/r3/stub_default_ma.ps
Normal file
21
gamedata/shaders/r3/stub_default_ma.ps
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include "common.h"
|
||||
|
||||
//Texture2D s_base;
|
||||
//sampler smp_base;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Pixel
|
||||
|
||||
float4 main ( p_TL I ) : SV_Target
|
||||
{
|
||||
float4 res = s_base.Sample( smp_base, I.Tex0 );
|
||||
// res.rgb = lerp( I.Color.rgb, res.rgb, I.Color.a);
|
||||
res.rgb = lerp( res.rgb, I.Color.rgb, I.Color.a);
|
||||
res.a *= I.Color.a;
|
||||
|
||||
// clip(res-m_AlphaRef);
|
||||
// clip(res-0.5);
|
||||
|
||||
return res;
|
||||
// return float4(1,1,1,1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue