Sin City shader (Updated - v3)
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.
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.
-
- Admin
- Posts: 12855
- Joined: Tue Jan 13, 2004 1:31 pm
- Discord: Rachael#3767
- Twitch ID: madamerachelle
- Github ID: madame-rachelle
Sin City shader (Updated - v3)
This shader attempts to mimic some of the atmosphere of the Sin City movie series by accenting some of the reds in an image against a dark picture.
You are free to use, incorporate into your project, or post derivative works based on this project, as long as you give credit.
[spoiler=old post]This shader is pretty simple - it simply accents the reds in an image against its grayscale counterpart.
This requires QZDoom devbuilds (or soon to be 2.0.1, as of this posting).
[/spoiler]
You do not have the required permissions to view the files attached to this post.
-
- ... in loving memory ...
- Posts: 2121
- Joined: Tue Oct 19, 2010 7:01 am
- Location: Window office.
Re: Sin City shader
So here's a question and a challenge (?). Would it be possible for the shader to ignore the map (all grayscale/all color) and just focus on sprites?
-
- Admin
- Posts: 12855
- Joined: Tue Jan 13, 2004 1:31 pm
- Discord: Rachael#3767
- Twitch ID: madamerachelle
- Github ID: madame-rachelle
Re: Sin City shader
A simple PP shader cannot do that. The wall/flat textures themselves can have a fragment shader that allows that, though, but it would have to be assigned to every single texture.
But I see where you're going with that - it would definitely make it a lot more "Sin-City"-like - and that might be worthwhile to implement in this mod, despite how overly simplified I tried to make it.
But I see where you're going with that - it would definitely make it a lot more "Sin-City"-like - and that might be worthwhile to implement in this mod, despite how overly simplified I tried to make it.

-
- Posts: 13458
- Joined: Wed Jul 16, 2003 3:52 am
- Location: Germany
Re: Sin City shader
I'd suggest also changing the tonecurve somehow to make the gray parts darker and the red ones more exhausted, something like this:


-
- Admin
- Posts: 12855
- Joined: Tue Jan 13, 2004 1:31 pm
- Discord: Rachael#3767
- Twitch ID: madamerachelle
- Github ID: madame-rachelle
Re: Sin City shader
@Tormentor: I went ahead and did that, but I was a lot more subtle with it - a lot of Doom consists of dark areas, anyway, so going to the extremes as shown in that picture makes the game unplayable. Because it was a quick change, I can post that immediately. Changing the textures, however, will require a bit more work. I plan to do that, though, just not in this iteration. 
Regarding the textures - I've decided I am only going to do some textures. If anyone else wants to use this in their own mod they can add their own textures as needed. I've actually found that having some red on the textures actually creates a very nice and atmospheric accent - so globally removing red from all walls/flats would probably not be that great.

Regarding the textures - I've decided I am only going to do some textures. If anyone else wants to use this in their own mod they can add their own textures as needed. I've actually found that having some red on the textures actually creates a very nice and atmospheric accent - so globally removing red from all walls/flats would probably not be that great.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 13458
- Joined: Wed Jul 16, 2003 3:52 am
- Location: Germany
Re: Sin City shader
That's running nice, I like it - but you are right, it's partially very dark 

-
- Admin
- Posts: 12855
- Joined: Tue Jan 13, 2004 1:31 pm
- Discord: Rachael#3767
- Twitch ID: madamerachelle
- Github ID: madame-rachelle
Re: Sin City shader
Thank you, Torm. 

-
- Admin
- Posts: 12855
- Joined: Tue Jan 13, 2004 1:31 pm
- Discord: Rachael#3767
- Twitch ID: madamerachelle
- Github ID: madame-rachelle
Re: Sin City shader (Updated - v3)
Updated OP.
This version grayscales a lot of the textures and images.
This version grayscales a lot of the textures and images.
-
- Posts: 1278
- Joined: Tue Dec 06, 2016 11:25 am
Re: Sin City shader (Updated - v3)
I started work in a Noir pk3 a while ago, but I took the hard route and hand-edited every single texture and sprite (mostly with the Threshold option in Photoshop). I chose to retain some colors like blue, red, green and yellow as those occur in the Sin Sity graphic novels as well. Speaking of which, I got my inspiration from the books instead of the movie so there's a lot of stark b&b contrasts. I finished converting all the textures of E1M1 before I got bored 
I achieved the fullbright look without distance fading/light falloff by secretely giving the player a custom version of the IR goggles.
I think my version would work very well with custom maps designed for it specifically, so there can be proper shadow effects where only black is used. Kind of like in the Action Doom 2 mod.
viewtopic.php?f=12&t=14126&p=989699&hilit=noir+doom#p989699


I achieved the fullbright look without distance fading/light falloff by secretely giving the player a custom version of the IR goggles.
I think my version would work very well with custom maps designed for it specifically, so there can be proper shadow effects where only black is used. Kind of like in the Action Doom 2 mod.
viewtopic.php?f=12&t=14126&p=989699&hilit=noir+doom#p989699

-
- Posts: 173
- Joined: Fri Aug 14, 2015 8:56 pm
Re: Sin City shader (Updated - v3)
Looks like ZX Spectrum Doom to me.
-
- Posts: 1278
- Joined: Tue Dec 06, 2016 11:25 am
Re: Sin City shader (Updated - v3)
Yeah, including the RGBY colors was an experiment because the graphic novels do it as well in some instances. I agree that it indeed looks more like a ZXSpectrum game
Were I to do it again, I'd also use much less white.
