From DoomWiki.org

(see also)
(ports)
Line 17: Line 17:
 
== ports ==
 
== ports ==
  
 +
=== mbf ===
  
 +
allows alternative sky textures but does not alter the rendering approach
 +
 +
=== zdoom ===
 +
 +
in software only: sky stretching
 +
 +
https://zdoom.org/wiki/Sky_stretching
 +
 +
* solves tiling above the horizon but not below it.
 +
* tweaked by a client console variable, so not a map property
 +
* minimum height to avoid any vertical tiling is 544px
 +
 +
hardware rendering (gzdoom): spherical projection instead of standard
 +
 +
* sky rendered twice; upper rendering takes priority if sky patch (or texture?) is taller
 +
 +
alternatives: sky boxes (software or hardware rendering)
  
 
== see also ==
 
== see also ==

Revision as of 10:35, 5 November 2018

this is research into tall skies across ports and games. the info here may eventually be folded into Sky

doom skies are 128 tall 256 wide

they tile horizontally up to 4 times (default) but the skies can be defined as wider textures up to 1024 for no horizontal tiling

they tile vertically when the sky is visible low enough on the screen, either continuously or separately (e.g. exit teleport in MAP20:_Gotcha!_(Doom_II))

heretic/hexen

...add limited look up/down which made the sky tiling problem more acute. Therefore they made the sky patches taller - 200px - but the texture definitions remained at 128

hexen's texture definitions redefine the skies as 200px tall

XXX can you still cause the texture to wrap?

ports

mbf

allows alternative sky textures but does not alter the rendering approach

zdoom

in software only: sky stretching

https://zdoom.org/wiki/Sky_stretching

  • solves tiling above the horizon but not below it.
  • tweaked by a client console variable, so not a map property
  • minimum height to avoid any vertical tiling is 544px

hardware rendering (gzdoom): spherical projection instead of standard

  • sky rendered twice; upper rendering takes priority if sky patch (or texture?) is taller

alternatives: sky boxes (software or hardware rendering)

see also

https://github.com/JNechaevsky/russian-doom/issues/1

https://zdoom.org/wiki/Sky