add game&rawdata

This commit is contained in:
Vasily Petrov 2026-06-17 23:06:51 +03:00
parent 0133cd976c
commit 49b34b5546
45731 changed files with 709831 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#include "fluid_common_render.h"
//////////////////////////////////////////////////////////////////////////////////////////
// Vertex
// TODO: DX10: replace WorldViewProjection with m_WVP
PS_INPUT_RAYCAST main (VS_INPUT input)
{
PS_INPUT_RAYCAST output = (PS_INPUT_RAYCAST)0;
output.pos = float4(input.pos,1);
// output.posInGrid = mul( float4( input.pos.xy*ZNear, 0, ZNear ), InvWorldViewProjection );
output.posInGrid = mul( InvWorldViewProjection, float4( input.pos.xy*ZNear, 0, ZNear ));
return output;
}