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.

Sector's outline effect possibility?

Postby DeXiaZ » Fri Sep 23, 2016 1:16 pm

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
DeXiaZ
 
Joined: 09 Apr 2013

Re: Sector's outline effect possibility?

Postby Gutawer » Fri Sep 23, 2016 6:46 pm

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
Gutawer
User Accounts Assistant
 
Joined: 16 Apr 2016
Discord: Gutawer#3431

Re: Sector's outline effect possibility?

Postby The Zombie Killer » Fri Sep 23, 2016 7:56 pm

You can also fake it by adding it to maps yourself, check out the levels in Action Doom 2: Urban Brawl.
User avatar
The Zombie Killer
King of the Kangaroos
 
Joined: 14 Jul 2011
Location: Gold Coast, Queensland, Australia
Discord: Zombie#1795

Re: Sector's outline effect possibility?

Postby DeXiaZ » Fri Sep 23, 2016 11:39 pm

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
DeXiaZ
 
Joined: 09 Apr 2013

Re: Sector's outline effect possibility?

Postby Rachael » Sat Sep 24, 2016 4:26 am

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
Rachael
^ walking stack of unfinished projects ^
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Graphics Processor: nVidia with Vulkan support

Re: Sector's outline effect possibility?

Postby leileilol » Sat Sep 24, 2016 5:52 pm

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
User avatar
leileilol
フォニュエール!!!!!!!!!!
 
Joined: 30 May 2004
Location: GNU/Hell

Re: Sector's outline effect possibility?

Postby Scuba Steve » Sun Oct 02, 2016 10:25 am

Oh so NOW we have real cel shading in Doom...
Scuba Steve
 
Joined: 27 Mar 2004

Re: Sector's outline effect possibility?

Postby zrrion the insect » Sun Oct 02, 2016 11:20 am

Urban brawl HD remaster when :p
User avatar
zrrion the insect
Like a fish in a child's hands.
 
Joined: 25 Jun 2009
Location: Time Station 1: Moon of Glendale


Return to Editing (Archive)

Who is online

Users browsing this forum: Bauul and 3 guests