mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
removes w=z trick (was causing fisheye, effectively)
This commit is contained in:
parent
3262c004a5
commit
d79b9a2988
12 changed files with 4 additions and 12 deletions
|
|
@ -63,7 +63,6 @@ ConnectData main( CloudVert IN )
|
|||
ConnectData OUT;
|
||||
|
||||
OUT.hpos = mul(modelview, float4(IN.pos,1.0));
|
||||
OUT.hpos.w = OUT.hpos.z;
|
||||
// Offset the uv so we don't have a seam directly over our head.
|
||||
float2 uv = IN.uv0 + float2( 0.5, 0.5 );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue