mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 06:34:10 +00:00
Fixed PSX vertex jiggle in hell sky
This commit is contained in:
parent
ab589eb5ef
commit
dbddb347f7
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ void main( VS_IN vertex, out VS_OUT result )
|
|||
result.position.z = dot4( vertex.position, rpMVPmatrixZ );
|
||||
result.position.w = dot4( vertex.position, rpMVPmatrixW );
|
||||
|
||||
result.position.xyz = psxVertexJitter( result.position );
|
||||
|
||||
float3 t0 = vertex.position.xyz - rpLocalViewOrigin.xyz;
|
||||
result.texcoord0.x = dot3( t0, rpWobbleSkyX );
|
||||
result.texcoord0.y = dot3( t0, rpWobbleSkyY );
|
||||
|
|
Loading…
Reference in a new issue