Garry's Mod

Garry's Mod

740 ratings
Outline Shader
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Cartoon, Comic, Scenic
File Size
Posted
Updated
48.535 KB
16 Aug @ 8:07pm
3 Sep @ 9:01am
6 Change Notes ( view )

Subscribe to download
Outline Shader

Description
Customizable, cartoony outlines! This adds a shader which outlines the world. You can find this addon in the Post Process Tab > Shaders > Outline (vlazed).

Features
  • Colorable edges
  • Luminance, normal, and depth buffer edge detection
  • Debug mode (which can also be used to render an outline pass)

This shader uses the GShader library. You must subscribe to it, and have it checked (Post Process Tab > Shaders > GShader library) for the outlines to work properly

Notes
Using `poster 2` (or any number greater than 1) does not upscale the outline effect; it results in a weird overlaying of the scene. If you wish to render at double your resolution, change the resolution in the video settings.

There may be some weird issues with rendering outlines with translucent or invisible materials. This issue is inherent with the shader buffers produced from GShader and may impact your usage of the tool. If you are an artist, here are some workarounds to consider:
  • Use an alternative model that allows toggleable bodygroups for most of the character (e.g. this addon)
  • Shrink part of the mesh that is supposed to be invisible (using Advanced Bonemerger, Ragdoll Mover, etc.)
  • Port the character into 3D modeling software, and remove the parts that cause the outline issue

Your mileage may vary with the use of this shader.

Credits
The following websites for the edge detection shaders

Posters
The first few images showcase the effect in-game. In the Poster gallery, the outline effect is used for artistic purposes, with the images being shown either in-game or post-processed (using Debug mode)

Source Code[github.com]

Outline Comparison[github.com]

Feel free to use this addon in your artwork or videos without attribution, although I highly appreciate it if you do.
Popular Discussions View All (1)
2
2 hours ago
PINNED: Outline Showcase
dim sum un
88 Comments
Bellemond 1 hour ago 
cool
Immortal Guard 4 hours ago 
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS BOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ COPY AND PASTE HIM
░░░░░░░▄▄▐▌▄▄░░░ SO HE CAN TAKE
░░░░░░░▀███▀█░▄░░ OVER STEAM
░░░░░░▐▌▀▄▀▄▀▐▄░░ AND THAT WILL TELL VALVE
░░░░░░▐▀░░░░░░▐▌░░ TO GIVE US HALF LIFE 3
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄░░▄▄
Mxple4Leafs 8 hours ago 
XIII shader
ISC 8 hours ago 
Garryslands
Keeple 11 hours ago 
if you guys have ever played super smash bros for 3ds this looks exactly like it
andrew 13 hours ago 
cool mod bro
Hello :) 14 hours ago 
The Walking Gmod
Swaggity_Toasterz97 16 hours ago 
Telltale: Garry's Mod
Damian34 17 hours ago 
Now we need cell shading!!1
gavindabeast 18 hours ago 
! alyx will remember that