Garry's Mod

Garry's Mod

Outline Shader
51 kommentarer
SYN For 33 minutter siden 
pm or model in da last pic???:steamhappy:
Craft_Pig For 3 timer siden 
peak
teasipper51166 For 7 timer siden 
is that... gooboo...
Box-Chan For 7 timer siden 
NMH MENTIONED
NeilTheGreat For 7 timer siden 
bro is NOT XIII
catwhyc For 8 timer siden 
How wonderful, thank you for answering my question, here take my steam points.
mario For 8 timer siden 
anime time!
yuhhh For 8 timer siden 
caarrll
Baby Wizard For 10 timer siden 
Interesting! very cool!
Stalinium Serb For 12 timer siden 
borderlands ahh shader
Nehk - yho For 13 timer siden 
doi doi doi doi doi doi doi
are its possible instead of black its follow the base texture colors
Sunny For 13 timer siden 
Telltale shader
Hervoo For 13 timer siden 
I'm gonna kill you so hard you're gonna be witch!
Wserd For 14 timer siden 
BorderLands
Koishi Komeiji with autism. For 16 timer siden 
better not become gluelibabry
Your dad For 16 timer siden 
Cyclops mentioned :steamhappy:
Your dad For 16 timer siden 
Ts so peak
Lublukvas For 17 timer siden 
Was searching for smth like that for so long. Thank you! :slimetabby:
󠁳⁧⁧ Nai For 19 timer siden 
twd telltale series looking ahh
Einshine! For 19 timer siden 
minecraft legends be like:
Nebula Nebbinson For 19 timer siden 
Does this work with already cel-shaded models?
Burger PDTH S.W.A.T Unit For 19 timer siden 
telltale lol:boomer:
ShengMin For 20 timer siden 
非常好的模组,不过有些显示多多少少还是有些问题,希望后面更新可以修复,期待:steamthumbsup:
zombierun For 21 timer siden 
Badass thumbnail tho
bearishplane17 17. okt. kl. 19:45 
Flandre took the damn dirtbike again smh..
WorsethanWorst 17. okt. kl. 19:23 
can you a setting in the debug menu to choose the background color separately? completely understandable if not i just think it'd be neat to make gmod look more like pacman
whiirl.1 17. okt. kl. 18:40 
i like it
dim sum un  [ophavsmand] 17. okt. kl. 17:59 
Excellent!
Cpt. Hazama 17. okt. kl. 17:46 
Yup, got it working with stencils ^^

Whenever said mods release/update they'll require this one (and gShaderd) as a dependency for the effect. Thank you!
Grunt 17. okt. kl. 16:31 
Man... This would've been so useful 3 months ago, Good mod though!
Ammar Kun 17. okt. kl. 15:47 
Borderlands 2 at home
TheEmeraldSword 17. okt. kl. 15:32 
Ooh! The old Sobel shader is getting replaced!
burnovomd 17. okt. kl. 12:07 
walking dead в gmod ура
Mr.Puzzles 17. okt. kl. 10:31 
this... is EPIC
dim sum un  [ophavsmand] 17. okt. kl. 6:28 
@Cpt Hazama
Yeah I imagine stencils would get you closer to the result you need. Good luck!
A-Droid-4-U 17. okt. kl. 4:13 
Finally I don't have to use reshade to get proper outlines anymore! I am forever grateful.
ATP-1002 17. okt. kl. 2:32 
oh my god, most essential addon for scenebuilders just dropped lol
thank you, and may your days be plenty, and your bad luck so few
Wint 16. okt. kl. 22:47 
Oh my god, THANK YOU. I've been making Gmod posters for a while now and have always wanted to do something Jet Set Radio related. These shaders will be very useful for the future :)
Cpt. Hazama 16. okt. kl. 22:35 
Yeah I was basically asking about isolating the effect to specific entities. I'll have to take a look at it tomorrow, it can probably be done with stencil masks
dim sum un  [ophavsmand] 16. okt. kl. 22:21 
An if you wanted to force this outline shader to work with your models, you’ll need to have GShader enabled, too, so that’s another dependency
dim sum un  [ophavsmand] 16. okt. kl. 22:11 
I’m a little confused on the question, but I’ll guess at the answer: you’re asking for “model-only” outlines which employ this outline shader vs using outline meshes? If that’s the case, I’ve yet to know how to isolate certain models to have the outline shader. Currently, outline shader will outline everything on the screen where it can “perceive” an edge
Cpt. Hazama 16. okt. kl. 21:29 
I haven't really looked into gShader or any of the mods that use it but, is it pretty straight forward to force a shader like this one to run regardless of it being enabled on certain entities?

I was doing comparisons between my own generated outline meshes on my models and this shader, and the shader does a much better job at creating them. I was hoping to utilize this mod instead of the generated meshes as a dependency :)
dim sum un  [ophavsmand] 16. okt. kl. 17:29 
Inverted hull method, which you mention, is one way of doing outlines. The outline algorithm [roystan.net] which this is based off, explains how the outlines are made.

In a nutshell, the algorithm looks for edges by finding differences between neighboring pixels. These differences could be whether the neighboring pixels are close to each other (depth-based), or if the neighboring pixels differ in brightness (luminance-based). Once it finds an edge, the shader "emphasizes" it by maximizing its pixel value (to 255) and giving it a color (as inputted by the user)

This shader makes an outline for everything because the algorithm works using your screen's pixels as an input (as well as a couple of other "versions" of your screen, roughly speaking)
catwhyc 16. okt. kl. 17:15 
How does this even work? How do you make an outline for everything? From last time I checked, you can only make an outline of an object by copying the same object, but paint it one full color and make it inside out around a non inside out object.
Beelzebub 15. okt. kl. 11:50 
EPIC
outsyler 15. okt. kl. 11:18 
twd graphics ahh addon
pretty cool btw
AtrociousBean 15. okt. kl. 10:41 
grugh????
TFC Medic 15. okt. kl. 9:23 
YEAAAAAAAAAAAAAAAAH CARTOON SHADER YEEEEEESSSSSS!!!!
Evgeny Akabenko 15. okt. kl. 3:09 
Keep up the good work. :HeartPix:
Evgeny Akabenko 15. okt. kl. 3:08 
:p2cube: :p2cube: :p2cube: :p2cube: