add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
29
gamedata/shaders/r2/effects_sun.vs
Normal file
29
gamedata/shaders/r2/effects_sun.vs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#include "common.h"
|
||||
|
||||
struct v_TL
|
||||
{
|
||||
float4 P : POSITION;
|
||||
float2 Tex0 : TEXCOORD0;
|
||||
float4 Color : COLOR;
|
||||
};
|
||||
|
||||
struct v2p_TL
|
||||
{
|
||||
float2 Tex0 : TEXCOORD0;
|
||||
float4 Color : COLOR;
|
||||
float4 HPos : POSITION; // Clip-space position (for rasterization)
|
||||
};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Vertex
|
||||
v2p_TL main ( v_TL I )
|
||||
{
|
||||
v2p_TL O;
|
||||
|
||||
O.HPos = mul(m_VP, I.P);
|
||||
O.HPos.z = O.HPos.w;
|
||||
O.Tex0 = I.Tex0;
|
||||
O.Color = I.Color;
|
||||
|
||||
return O;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue