Self-lit sprites

Moderator: Graf Zahl

Sussudio
Posts: 98
Joined: Tue Jul 14, 2009 21:49

Self-lit sprites

Post by Sussudio »

I just noticed the lights casted by the candle sprites (using the official lights,pk3) won't affect the candle sprites themselves, only other sprites and the surroundings.

Any chance for improvement?

Regards.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: Self-lit sprites

Post by Graf Zahl »

Of course they do - unless you switch it off. There'S already a 'dontlightself' option.
Sussudio
Posts: 98
Joined: Tue Jul 14, 2009 21:49

Re: Self-lit sprites

Post by Sussudio »

Graf Zahl wrote:Of course they do - unless you switch it off. There'S already a 'dontlightself' option.
Sorry but I didn't switch anything off and I still can't see them being lit.


Image
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Re: Self-lit sprites

Post by Graf Zahl »

That's because they are fullbright already. You can't get anything brighter than pure white light.
User avatar
Enjay
Developer
Developer
Posts: 4752
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Re: Self-lit sprites

Post by Enjay »

And that is, of course, exactly the kind of thing that brightmaps are used for. Try loading brightmaps.pk3 too (and also check that brightmaps are enabled in the shaders menu) and see if it looks more like what you want.
Sussudio
Posts: 98
Joined: Tue Jul 14, 2009 21:49

Re: Self-lit sprites

Post by Sussudio »

Can't seem to get the candle sprite to look like I want it to look by simply enabling/disabling brightmaps. But question is, should the candlestick look green without editing anything whatsoever? does it look like that in your computers using the official lights.pk3 and brightmaps.pk3? if it does, I could probably blame it on my config, but if it doesn't, then there's indeed, room for improvement (talking about the pk3's, not GZDoom itself)
User avatar
Enjay
Developer
Developer
Posts: 4752
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Re: Self-lit sprites

Post by Enjay »

No brightmap applied on the left. Standard brightmap applied on the right.

Image
Sussudio
Posts: 98
Joined: Tue Jul 14, 2009 21:49

Re: Self-lit sprites

Post by Sussudio »

Yep, that's what it looks like here, and this is more like what I had in mind:

Image
User avatar
Enjay
Developer
Developer
Posts: 4752
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Re: Self-lit sprites

Post by Enjay »

Then you'll have to create your own brightmap image. It's pretty easy. Basically, for what you want, you can extract the appropriate images from brightmaps.pk3 and edit them with the graphics editor of your choice to make everything but the flame area of the graphic darker or even black.
Sussudio
Posts: 98
Joined: Tue Jul 14, 2009 21:49

Re: Self-lit sprites

Post by Sussudio »

Thanks, I'll give it a go.

Return to “Closed Feature Suggestions”