How to make Sunlight?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
BucketHoodie
Posts: 22
Joined: Sun Feb 16, 2020 11:35 pm

How to make Sunlight?

Post by BucketHoodie »

Hey I would just like to know how to make sunlight, or at least the illusion of it, in GZDB. I know it probably is done via dynamic lights, but which ones do I use to create sunlight?
User avatar
Cherno
Posts: 1337
Joined: Tue Dec 06, 2016 11:25 am

Re: How to make Sunlight?

Post by Cherno »

If you don't need to light models, then sector-based lighting is probably easier. A dynamic light-based sun requires an extremely bright spotlight with extreme angles high up in the map, so you need a giant room above the scenery. Not really feasable if you ask me. If models are involved, you might want to take a lok at the SunSim shader (there's a thread here on the forum).
User avatar
BucketHoodie
Posts: 22
Joined: Sun Feb 16, 2020 11:35 pm

Re: How to make Sunlight?

Post by BucketHoodie »

Cherno wrote:If you don't need to light models, then sector-based lighting is probably easier. A dynamic light-based sun requires an extremely bright spotlight with extreme angles high up in the map, so you need a giant room above the scenery. Not really feasable if you ask me. If models are involved, you might want to take a lok at the SunSim shader (there's a thread here on the forum).
Do you mind to send me a link for quick access?
Post Reply

Return to “Mapping”