[Already In] Adjust sky horizon in MAPINFO

Moderator: GZDoom Developers

Adjust sky horizon in MAPINFO

Postby RiboNucleic Asshat » Thu Feb 14, 2019 2:57 am

Currently, when using a tall sky texture in a map, the horizon shifts downwards, and the bottom half of the sky sphere/cylinder gets covered more than the top; I'm specifically using 140px tall textures because I want the opposite of this to happen, in that the texture should cover more of the top of the skydome while keeping the horizon directly in the middle.

In the interest of additional flexibility, I'm requesting that some sort of "HorizonHeight" value be added to MAPINFO, so that one could potentially shift the sky horizon upwards or downwards, depending on what effect they desire.
User avatar
RiboNucleic Asshat
avatar by Skelegant
 
Joined: 09 May 2013
Location: Exactly where I am
Discord: Ribonucleic Asshat#7687
Twitch ID: ribonucleicasshat
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Adjust sky horizon in MAPINFO

Postby Graf Zahl » Thu Feb 14, 2019 5:08 am

This already exists, but needs to be set per texture in ANIMDEFS.

Here's an example:

skyoffset sky5 -56
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Adjust sky horizon in MAPINFO

Postby RiboNucleic Asshat » Thu Feb 14, 2019 5:48 am

well I'm dumb. Not sure how I missed that, since I combed over the wiki looking all over for this. A bit unintuitive that it's in ANIMDEFS, though.
User avatar
RiboNucleic Asshat
avatar by Skelegant
 
Joined: 09 May 2013
Location: Exactly where I am
Discord: Ribonucleic Asshat#7687
Twitch ID: ribonucleicasshat
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Adjust sky horizon in MAPINFO

Postby Graf Zahl » Thu Feb 14, 2019 6:25 am

When this was added it had to change the texture, so it made sense back then.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest