Skip to content

Commit

Permalink
Fix tesselated models jittering
Browse files Browse the repository at this point in the history
  • Loading branch information
Hozar2002 authored and Drombeys committed Dec 23, 2024
1 parent 6337347 commit 675c54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamedata/shaders/d3d11/tess.ds.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 675c54e

Please sign in to comment.