Garry's Mod

Garry's Mod

252 个评价
Outline Shader
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 卡通, 漫画, 风景
文件大小
发表于
更新日期
48.535 KB
8 月 16 日 下午 8:07
9 月 3 日 上午 9:01
6 项改动说明 ( 查看 )

订阅以下载
Outline Shader

描述
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.
热门讨论 查看全部(1)
0
10 月 14 日 上午 11:47
置顶: Outline Showcase
dim sum un
30 条留言
ShengMin 20 分钟以前 
非常好的模组,不过有些显示多多少少还是有些问题,希望后面更新可以修复,期待:steamthumbsup:
zombierun 1 小时以前 
Badass thumbnail tho
bearishplane17 3 小时以前 
Flandre took the damn dirtbike again smh..
WorsethanWorst 4 小时以前 
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 4 小时以前 
i like it
dim sum un  [作者] 5 小时以前 
Excellent!
Cpt. Hazama 5 小时以前 
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 6 小时以前 
Man... This would've been so useful 3 months ago, Good mod though!
Ammar Kun 7 小时以前 
Borderlands 2 at home
TheEmeraldSword 7 小时以前 
Ooh! The old Sobel shader is getting replaced!