add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
14
gamedata/shaders/r3/fluid_raydata_front.vs
Normal file
14
gamedata/shaders/r3/fluid_raydata_front.vs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "fluid_common_render.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Vertex
|
||||
// TODO: DX10: replace WorldViewProjection with m_WVP
|
||||
PS_INPUT_RAYDATA_FRONT main(VS_INPUT input)
|
||||
{
|
||||
PS_INPUT_RAYDATA_FRONT output = (PS_INPUT_RAYDATA_FRONT)0;
|
||||
// output.pos = mul(float4(input.pos,1), WorldViewProjection);
|
||||
output.pos = mul(WorldViewProjection, float4(input.pos,1));
|
||||
output.posInGrid = input.pos;
|
||||
output.depth = output.pos.w;
|
||||
return output;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue