From 675c54eca57a4afcd86eaf5590baea245ab3566a Mon Sep 17 00:00:00 2001 From: Hozar2002 Date: Sun, 22 Dec 2024 22:55:59 +0600 Subject: [PATCH] Fix tesselated models jittering --- gamedata/shaders/d3d11/tess.ds.hlsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamedata/shaders/d3d11/tess.ds.hlsl b/gamedata/shaders/d3d11/tess.ds.hlsl index 6638cc5f3e..1b650ec3d1 100644 --- a/gamedata/shaders/d3d11/tess.ds.hlsl +++ b/gamedata/shaders/d3d11/tess.ds.hlsl @@ -65,7 +65,7 @@ void main(in HS_CONSTANT_DATA_OUTPUT input, output.hpos = mul(m_P, float4(output.position.xyz, 1)); - output.hpos_curr = output.hpos; //bp[0].hpos_curr * w + bp[1].hpos_curr * v + bp[2].hpos_curr * u; + output.hpos_curr = bp[0].hpos_curr * w + bp[1].hpos_curr * v + bp[2].hpos_curr * u; output.hpos_old = bp[0].hpos_old * w + bp[1].hpos_old * v + bp[2].hpos_old * u; #if 0