Sector's outline effect possibility?

Archive of the old editing forum
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.
Locked
User avatar
DeXiaZ
Posts: 139
Joined: Tue Apr 09, 2013 3:19 am

Sector's outline effect possibility?

Post 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.
User avatar
Gutawer
Posts: 469
Joined: Sat Apr 16, 2016 6:01 am
Preferred Pronouns: She/Her

Re: Sector's outline effect possibility?

Post 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.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: Sector's outline effect possibility?

Post 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.
User avatar
DeXiaZ
Posts: 139
Joined: Tue Apr 09, 2013 3:19 am

Re: Sector's outline effect possibility?

Post 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.
User avatar
Rachael
Posts: 13955
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Sector's outline effect possibility?

Post 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.
User avatar
leileilol
Posts: 4449
Joined: Sun May 30, 2004 10:16 am
Preferred Pronouns: She/Her
Location: GNU/Hell

Re: Sector's outline effect possibility?

Post 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
Scuba Steve
Posts: 1060
Joined: Sat Mar 27, 2004 8:56 pm

Re: Sector's outline effect possibility?

Post by Scuba Steve »

Oh so NOW we have real cel shading in Doom...
User avatar
zrrion the insect
Posts: 2432
Joined: Thu Jun 25, 2009 1:58 pm
Location: Time Station 1: Moon of Glendale

Re: Sector's outline effect possibility?

Post by zrrion the insect »

Urban brawl HD remaster when :p
Locked

Return to “Editing (Archive)”