e4s-game/gamedata/shaders/d3d11/fluid_raydatacopy_quad.ps.hlsl
2026-06-18 01:18:29 +03:00

8 lines
261 B
HLSL

#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));
}