Revert r2141 functionality because it was a stupid-ass hack and breaks E3L5.
The texture warping mode will need to be set depending on whether we're actually drawing a parallaxed sky or not.
27 November 2011 · 1 commit by 1 author · SVN
------------------------------------------------------------------------
r2142 | helixhorned | 2011-11-27 04:02:41 -0800 (Sun, 27 Nov 2011) | 3 lines
Revert r2141 functionality because it was a stupid-ass hack and breaks E3L5.
The texture warping mode will need to be set depending on whether we're
actually drawing a parallaxed sky or not.
------------------------------------------------------------------------
r2141 | helixhorned | 2011-11-26 14:41:09 -0800 (Sat, 26 Nov 2011) | 6 lines
Upload sky textures with s wrapping set to GL_CLAMP{_TO_EDGE}.
This fixes the vertical (~1 texel wide) stripes that are especially
noticable with tiled art skies and Polymost with r_parallaxskyclamp=1
or Polymer (which always uploads skies with repeating s and t coords).
What constitutes a sky tile is currently hardcoded to be >=78 and <=99.
------------------------------------------------------------------------
The texture warping mode will need to be set depending on whether we're actually drawing a parallaxed sky or not.
This fixes the vertical (~1 texel wide) stripes that are especially noticable with tiled art skies and Polymost with r_parallaxskyclamp=1 or Polymer (which always uploads skies with repeating s and t coords). What constitutes a sky tile is currently hardcoded to be >=78 and <=99.