Brightmaps: Topic Resurrection
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- esselfortium
- Posts: 3862
- Joined: Tue Sep 19, 2006 8:43 pm
- Contact:
Re: Brightmaps: SOFTWARE Brightmaps (sort of)
Very cool. Maybe this could be done with two or three bright things that are spawned at the same time, using additive blending with different opacity levels, for bright areas with varying levels of brightness.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: Brightmaps: SOFTWARE Brightmaps (sort of)
That would actually begin to hurt the engine a bit. I wouldn't recommend this.esselfortium wrote:Very cool. Maybe this could be done with two or three bright things that are spawned at the same time, using additive blending with different opacity levels, for bright areas with varying levels of brightness.
- esselfortium
- Posts: 3862
- Joined: Tue Sep 19, 2006 8:43 pm
- Contact:
Re: Brightmaps: SOFTWARE Brightmaps (sort of)
Here's a better one. Still the Shotgunguy.
I first tried 10
"SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)"
each spawning a 1 tic
"SPOF F 2 BRIGHT",
but this didn't display. So I switched to 5
"SPOS F 2 A_CustomMissile("BrightShotgunGuy",0,0,0)"
each spawning a
"SPOF F 2 BRIGHT",
but this was flickery. So I went back to 10
"SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)"
each spawning a 2 TIC
"SPOF F 2 BRIGHT", and this works.
There is some overlap though. When you kill him or he goes into pain state, there is a chance you will see 1 tic of the BrightShotgunguy sprite. And when strafing right infront of him while he fires, either the shotgunguy loses track of you and the Brightshotgunguy keeps facing you, or the other way aroung. Is there a way to keep the missiles and the shotgunguy always facing in the same direction?
I first tried 10
"SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)"
each spawning a 1 tic
"SPOF F 2 BRIGHT",
but this didn't display. So I switched to 5
"SPOS F 2 A_CustomMissile("BrightShotgunGuy",0,0,0)"
each spawning a
"SPOF F 2 BRIGHT",
but this was flickery. So I went back to 10
"SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)"
each spawning a 2 TIC
"SPOF F 2 BRIGHT", and this works.
There is some overlap though. When you kill him or he goes into pain state, there is a chance you will see 1 tic of the BrightShotgunguy sprite. And when strafing right infront of him while he fires, either the shotgunguy loses track of you and the Brightshotgunguy keeps facing you, or the other way aroung. Is there a way to keep the missiles and the shotgunguy always facing in the same direction?
Re: Brightmaps: SOFTWARE Brightmaps (sort of)
Here's the Cyberdemon and Shotgunguy. Same method as last post.
Go to map23, ans summon cyberdemon.
You can still see the problem if you strafe close to the cyber while hes firing, I really need a solution.
And if you look at the DECORATE, you can see that the code is REALLY BLOATED.
CALLING ALL DECORATE MASTERS, PLEASE REPORT TO THE BRIGHTMAPS THREAD
Go to map23, ans summon cyberdemon.
You can still see the problem if you strafe close to the cyber while hes firing, I really need a solution.
And if you look at the DECORATE, you can see that the code is REALLY BLOATED.
CALLING ALL DECORATE MASTERS, PLEASE REPORT TO THE BRIGHTMAPS THREAD
- Attachments
-
FakedBmaps.zip
- (19 KiB) Downloaded 38 times
Re: Brightmaps: SOFTWARE Brightmaps, Calling Decorate masters
Well, for starters, you can cut this:
down to this:
Code: Select all
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
SPOS F 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
Code: Select all
SPOS FFFFFFFFFF 1 A_CustomMissile("BrightShotgunGuy",0,0,0)
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: Brightmaps: SOFTWARE Brightmaps, Calling Decorate masters
That actually works?jimmy91 wrote:Well, for starters, you can cut this:
...
down to this:
Re: Brightmaps: SOFTWARE Brightmaps, Calling Decorate masters
Yes, that does work! I thought it would only spawn 1 projectile, but it spawns 10.
Now, there is the problem of keeping the projectiles facing the same way as the shotgunguy at all times....
Now, there is the problem of keeping the projectiles facing the same way as the shotgunguy at all times....
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: Brightmaps: SOFTWARE Brightmaps, Calling Decorate masters
Does the projectile have rotations?phi108 wrote:Yes, that does work! I thought it would only spawn 1 projectile, but it spawns 10.
Now, there is the problem of keeping the projectiles facing the same way as the shotgunguy at all times....
Re: Brightmaps: SOFTWARE Brightmaps, Calling Decorate masters
Is no one going to point out that this method will fall apart completely as soon as you throw another player into the equation?
Oh, I guess I just did...
Oh, I guess I just did...

Re: Brightmaps: Update, baron and doomguy
Here are Player and Baron brightmaps with the MoreDepth method applied to them.
The only new code for these is:
brightmap sprite PLAYF5
{
map "brightmaps/doom/PLAYF5.png"
iwad
disablefullbright
}
The original Baron brightmaps were missing quite a few pixels of slime. Was this intentional, to make the slime dimmer? I went ahead and brightmapped the missing pixels. But the overall result of my brightmapping method is pretty bright baron slime. I should probably put it through Irfanview to darken it. How much darker should the slime be? -256 to 0 on the darkness scale.
I really like the bright slime effect, though
EDIT: And I don't know if this is a problem in the gzdoom svn repository, or sourceforge builds, but GZDoom r53 has the brightmaps for CPOSF4, CPOSF5, SPOSF5, POSSF5, and FATTH5 in the brightmaps folder, but it doesn't have them mapped to anything in the code. There is still just "disablefullbright" for all of these.
The only new code for these is:
brightmap sprite PLAYF5
{
map "brightmaps/doom/PLAYF5.png"
iwad
disablefullbright
}
The original Baron brightmaps were missing quite a few pixels of slime. Was this intentional, to make the slime dimmer? I went ahead and brightmapped the missing pixels. But the overall result of my brightmapping method is pretty bright baron slime. I should probably put it through Irfanview to darken it. How much darker should the slime be? -256 to 0 on the darkness scale.
I really like the bright slime effect, though

EDIT: And I don't know if this is a problem in the gzdoom svn repository, or sourceforge builds, but GZDoom r53 has the brightmaps for CPOSF4, CPOSF5, SPOSF5, POSSF5, and FATTH5 in the brightmaps folder, but it doesn't have them mapped to anything in the code. There is still just "disablefullbright" for all of these.
- Attachments
-
Update.zip
- (68.82 KiB) Downloaded 57 times
- .+:icytux:+.
- Posts: 2661
- Joined: Thu May 17, 2007 1:53 am
- Location: Finland
Re: Brightmaps: Update, baron and doomguy
pics plz ^^
Re: Brightmaps: Update, baron and doomguy
Here's a description of the effect: It looks pretty cool.
They've been added to GZDoom's brightmaps in the SVN version. Go get it at sourceforge.
They've been added to GZDoom's brightmaps in the SVN version. Go get it at sourceforge.
- .+:icytux:+.
- Posts: 2661
- Joined: Thu May 17, 2007 1:53 am
- Location: Finland
Re: Brightmaps: Update, baron and doomguy
i dont have time to test them out so i just wished u could post something like this.


Re: Brightmaps: Update, baron and doomguy
Here you go.
As you can see, it's FanFreakinTastic
EDIT: OK, I just checked r60, and PLAYF5, shown here, isn't in brightmaps/doom/, but it's mapped in the code.
As you can see, it's FanFreakinTastic
EDIT: OK, I just checked r60, and PLAYF5, shown here, isn't in brightmaps/doom/, but it's mapped in the code.
- Attachments
-
- BaronPlayer.png (28.06 KiB) Viewed 628 times