Adjust sky horizon in MAPINFO

Moderator: GZDoom Developers

Post Reply
User avatar
RiboNucleic Asshat
Posts: 501
Joined: Thu May 09, 2013 8:15 pm
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support
Location: Exactly where I am
Contact:

Adjust sky horizon in MAPINFO

Post by RiboNucleic Asshat »

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Adjust sky horizon in MAPINFO

Post by Graf Zahl »

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

Here's an example:

skyoffset sky5 -56
User avatar
RiboNucleic Asshat
Posts: 501
Joined: Thu May 09, 2013 8:15 pm
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support
Location: Exactly where I am
Contact:

Re: Adjust sky horizon in MAPINFO

Post by RiboNucleic Asshat »

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Adjust sky horizon in MAPINFO

Post by Graf Zahl »

When this was added it had to change the texture, so it made sense back then.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”