Page 1 of 1

Sector's outline effect possibility?

PostPosted: Fri Sep 23, 2016 1:16 pm
by DeXiaZ
Hello everyone.

My question is about shaders mostly. Is this possible to made an outline effect for ZDoom/GZDoom/Zandronum sourceports?

I mean things like this:
Image

In Doom it should be like this (fake image):
Image

Any ideas or suggestions? Thanks in advance.

Re: Sector's outline effect possibility?

PostPosted: Fri Sep 23, 2016 6:46 pm
by Gutawer
The term you are looking for is "Cel-shading". :P

To answer your question though, I could imagine it might be possible with GLSL shaders that are possible with the new GZDoom builds, but ZDoom and Zandronum are probably out of the question without some extra program like ReShade acting on them.

Re: Sector's outline effect possibility?

PostPosted: Fri Sep 23, 2016 7:56 pm
by The Zombie Killer
You can also fake it by adding it to maps yourself, check out the levels in Action Doom 2: Urban Brawl.

Re: Sector's outline effect possibility?

PostPosted: Fri Sep 23, 2016 11:39 pm
by DeXiaZ
Thank you for replies.

You can also fake it by adding it to maps yourself, check out the levels in Action Doom 2: Urban Brawl.

I want to get this effect for any Doom wad, not only for my custom maps. It's stupid to ask such things if I wanted to do it to my custom maps -_-'

To answer your question though, I could imagine it might be possible with GLSL shaders that are possible with the new GZDoom builds, but ZDoom and Zandronum are probably out of the question without some extra program like ReShade acting on them.

Ok, let it be GZDoom only but where I can get such shader? Create it by myself? That is easier said than done.

Re: Sector's outline effect possibility?

PostPosted: Sat Sep 24, 2016 4:26 am
by Rachael
Someone has to make it.

There's plenty of cel-shading code available though, all someone has to do is plug in GZDoom's variables and attach it to an existing shader, the Lens Distortion filter is a popular one to replace.

Re: Sector's outline effect possibility?

PostPosted: Sat Sep 24, 2016 5:52 pm
by leileilol
It's p trivial to write a cel shader. Just sample pixels' depth around a few times, and black the color over a threshold accounting for the depth differences.


It can be done further for really lazy (and slow) ssao

Re: Sector's outline effect possibility?

PostPosted: Sun Oct 02, 2016 10:25 am
by Scuba Steve
Oh so NOW we have real cel shading in Doom...

Re: Sector's outline effect possibility?

PostPosted: Sun Oct 02, 2016 11:20 am
by zrrion the insect
Urban brawl HD remaster when :p