Fix skybox horizon distortion


The skybox vertex shader normalized the reconstructed eye direction
per-vertex and let it interpolate across the fullscreen primitive. The
unprojected ray is affine in screen position, so normalizing per-vertex
scales each corner by a different length and warps the interpolant. This
is invisible for a symmetric frustum (all corner rays share one length,
so it is a uniform scale) but bends the horizon on the off-axis, per-eye
asymmetric projections of XR headsets.

Defer normalization to the fragment shader so the interpolated direction
stays affine and is exact per fragment.

Pick-to: 6.8 6.11 6.12
Change-Id: Ie7b1f99c444526b3c3166e08729f1d8f7a875578
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
commit006df47edeb352be1c5aacac75bb947478db9cf7
parent8409cef6fcc144cbdd5fc6339df63972a6aee789
authorKristoffer Skau <kristoffer.skau@qt.io>
committerKristoffer Skau <kristoffer.skau@qt.io>
commit timeTue, 23 Jun 2026 08:51:08 +0000