add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
8
gamedata/shaders/d3d11/fluid_raydatacopy_quad.ps.hlsl
Normal file
8
gamedata/shaders/d3d11/fluid_raydatacopy_quad.ps.hlsl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include "fluid_common_render.hlsli"
|
||||
|
||||
// Pixel
|
||||
// TODO: DX10: replace WorldViewProjection with m_WVP
|
||||
float4 main(PS_INPUT_RAYCAST input) : SV_Target
|
||||
{
|
||||
return rayDataTex.Sample(samPointClamp, float2(input.pos.x / RTWidth, input.pos.y / RTHeight));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue