Grey Doubt v1.1

Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
Post Reply
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Grey Doubt v1.1

Post by Pixel Eater »

GreyDoubt1.1.pk3
(84.27 KiB) Downloaded 501 times
A more polished version of a feature in Troo Cullers, Grey Doubt adds the desaturation-at-a-distance that software DooM has but blends and fades in a modern smoother way. Works nicely with SSAO and dynamic lights:
L: Stock, C: Grey Doubt, R: Palette shader
L: Stock, C: Grey Doubt, R: Palette shader
Version 1.1 fixes a glitch in the LUT which caused the Soulsphere's face to blergh.
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: Grey Doubt v1.1

Post by Pixel Eater »

These are a terrible example but I'm sharing them anyway because...
They're my first screen recordings!:
Soft fade
Soft fade
Gif1.gif (202.77 KiB) Viewed 6472 times
Rough fade
Rough fade
Gif2.gif (235.18 KiB) Viewed 6472 times
User avatar
Darkcrafter
Posts: 564
Joined: Sat Sep 23, 2017 8:42 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support

Re: Grey Doubt v1.1

Post by Darkcrafter »

Good! That's exactly what I missed in the OpenGL renderer, thanks.
User avatar
Agitatio
Posts: 240
Joined: Mon Sep 05, 2011 10:07 am
Graphics Processor: nVidia with Vulkan support

Re: Grey Doubt v1.1

Post by Agitatio »

Love it, but it seems to not work very well with dynamic lights and sector lights in some cases. For example, on MAP01 in the stimpack secret it makes dynamic lights grey no matter how close or far you are.
Also very noticeable on the first map of Doom 64. The cages with zombieman should have blue lighting, but it's fully grey.
Spoiler:
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: Grey Doubt v1.1

Post by Pixel Eater »

Thanks for the heads up Agitatio,

I've had a look and I think the problem is that the shades of colour affected fall outside Doom's palette. The lookup table involved uses those "rogue" colour entries as storage for the grey replacement values and so they can't coexist unfortunately.
40KN
Posts: 14
Joined: Wed May 08, 2019 8:23 am

Re: Grey Doubt v1.1

Post by 40KN »

Thank you, this is great. Would it be feasible to use this method in order to recreate the same desaturation effect that applied to monsters in low-light settings (specific to software-rendered Doom)?
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: Grey Doubt v1.1

Post by Pixel Eater »

You can try Troo Cullers for getting the full Doom colourmap effect. It's a little outdated now (and totally inaccurate for Raven's titles) but I've got some improvements down the pipeline.
Post Reply

Return to “Shaders”