add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
24
gamedata/shaders/d3d11/deffer_particle.vs.hlsl
Normal file
24
gamedata/shaders/d3d11/deffer_particle.vs.hlsl
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#include "common.hlsli"
|
||||
|
||||
struct vv
|
||||
{
|
||||
float4 P : POSITION;
|
||||
float2 tc : TEXCOORD0;
|
||||
float4 c : COLOR0;
|
||||
};
|
||||
|
||||
struct v2p_particle
|
||||
{
|
||||
float4 color : COLOR0;
|
||||
float4 hpos : SV_POSITION;
|
||||
};
|
||||
|
||||
void main(in vv I, out v2p_particle pp)
|
||||
{
|
||||
pp.color = I.c;
|
||||
|
||||
pp.hpos = mul(m_WVP, I.P);
|
||||
pp.hpos.xy += m_taa_jitter.xy * pp.hpos.w;
|
||||
}
|
||||
|
||||
// THIS SHADER SHOD BE DELEATED OR FIXED
|
||||
Loading…
Add table
Add a link
Reference in a new issue