All Projects → Shrimpey → Outlined Diffuse Shader Fixed

Shrimpey / Outlined Diffuse Shader Fixed

Licence: mit
This is a fixed version of diffused outline shader from http://wiki.unity3d.com/index.php/Outlined_Diffuse_3

Labels

Projects that are alternatives of or similar to Outlined Diffuse Shader Fixed

Unitychantoonshaderver2 project
UnityChanToonShaderVer2 Project / v.2.0.8 Release
Stars: ✭ 2,334 (+1103.09%)
Mutual labels:  shaderlab
Xiexes Unity Shaders
A re-write and restructure of XSToon.
Stars: ✭ 171 (-11.86%)
Mutual labels:  shaderlab
Videolabtest
OP-Z videolab examples
Stars: ✭ 186 (-4.12%)
Mutual labels:  shaderlab
Unityscreenspaceboolean
Screen Space Boolean Implementation for Unity.
Stars: ✭ 150 (-22.68%)
Mutual labels:  shaderlab
Stylized Water
A stylized water shader (and material presets) for Unity.
Stars: ✭ 162 (-16.49%)
Mutual labels:  shaderlab
Threedscans
Scanned statue models from the Three D Scans project, optimized for real-time rendering use.
Stars: ✭ 172 (-11.34%)
Mutual labels:  shaderlab
Unityurp Billboardlensflareshader
(1)Add a new Quad GameObject (2)Use this shader (3)Done! Now you have billboard lens flare shader for URP!
Stars: ✭ 140 (-27.84%)
Mutual labels:  shaderlab
Awesome Unity Shader
⛵ 关于炫酷的Unity3D Shader | About Cool Unity3D Shaders
Stars: ✭ 2,658 (+1270.1%)
Mutual labels:  shaderlab
Unity Plugin
收集的Unity3D插件以及资源、粒子等,欢迎Star
Stars: ✭ 159 (-18.04%)
Mutual labels:  shaderlab
Shaders
A collection of shaders written in CG/ShaderLab for Unity.
Stars: ✭ 173 (-10.82%)
Mutual labels:  shaderlab
Spriteoutlinefx
Outline image effect for 2D sprites.
Stars: ✭ 154 (-20.62%)
Mutual labels:  shaderlab
Squashandstretch
A Unity 2018.10b12 project where I am experimenting with a squash and stretch shader.
Stars: ✭ 160 (-17.53%)
Mutual labels:  shaderlab
Nvjob Water Shader Simple And Fast
#NVJOB Simple Water Shaders. Free Unity Asset.
Stars: ✭ 172 (-11.34%)
Mutual labels:  shaderlab
Learnunityshader
学习Unity Shader过程中的一些记录,特效,动画Demo。
Stars: ✭ 141 (-27.32%)
Mutual labels:  shaderlab
Isaura
An attempt at making a aura thingie with a isoline shader.
Stars: ✭ 187 (-3.61%)
Mutual labels:  shaderlab
Neitri Unity Shaders
Collection of shaders for Unity3D and VRChat
Stars: ✭ 137 (-29.38%)
Mutual labels:  shaderlab
Crossfadinglod
(Unity) Cross-fading LOD shader example
Stars: ✭ 171 (-11.86%)
Mutual labels:  shaderlab
Unitywatersurface
Water Surface Simulation using CutomRenderTexture in Unity 2017.1
Stars: ✭ 190 (-2.06%)
Mutual labels:  shaderlab
Rtltmpro
Right-To-Left Text Mesh Pro for Unity. This plugin adds support for Persian and Arabic languages to TextMeshPro.
Stars: ✭ 187 (-3.61%)
Mutual labels:  shaderlab
Unity Dithered Transparency Shader
Unity material and shader for applying clipped, dithered transparency
Stars: ✭ 174 (-10.31%)
Mutual labels:  shaderlab

Outlined Diffuse Shader Fixed for Unity 5.6

This is a fixed version of diffused outline shader from http://wiki.unity3d.com/index.php/Outlined_Diffuse_3 It should be working fine in Unity 5.6 and above.

Important update:

A new version of the outline shader is available, go to: https://github.com/Shrimpey/UltimateOutline Use the updated shader, come back here only if you find it to be working weirdly on your custom models and try some of the ones mentioned below.

Guide: I suggest you trying UniformOutline.shader and then CustomOutline.shader. They should work fine for simple objects/complex objects with proper origin. If they fail - try out the RegularOutline.shader. The rest of the shaders are for really specyfic purposes, so unless you know what you're doing you probably shouldn't be using them :)

Showcase: Download OutlineShowcase.unitypackage and import it to Unity project to see RegularOutline, CustomOutline and UniformOutline shaders in action.

Shaders:

RegularOutline.shader

RegularOutline.shader - Just an updated version of the shader from the wiki page, may still work in weird ways => if so, use custom one. Regular Outline Usage: Curved shapes/thin outlines. Problems: Weird shapes on hard edges.


CustomOutline.shader

CustomOutline.shader - My personal take on the outline shader. It increases the scale of the vertices instead of working with normals. Custom Outline Usage: All shapes Problems: Possible clipping on really thick edges/weird offsets if model's origin is not in center


UniformOutline.shader

UniformOutline.shader - Made from scratch, works just like CustomOutline except the scaling is more uniform - width of the outline should be more consistent on irregular meshes (easy to notice when comparing the wheels of the cart from the image below to the Custom Outline shader image).

Uniform Outline

Usage: All shapes Problems: Same as in Custom Outline, less overlaying, more angled distortions.


CustomOutline-CameraIndependent.shader

CustomOutline-CameraIndependent.shader - Same as custom one, but the outline is the same width despite the distance to the camera.

Camera Independend Close Camera Independend Far

Usage: Same sized outline on perspective camera. Problems: Weird shapes on complex objects.


CustomOutline-ConstantWidth.shader

CustomOutline-ConstantWidth.shader - Same as custom one, but the outline is constant width despite the camera zoom.

Constant Width Zoomed In Constant Width Zoomed Out

Usage: Same outline width despite the camera's zoom (ortho/perspective) Problems: Clipping on thick outlines on complex shapes.


UPDATE 03.09.2017 - Added camera independent version of custom shader

UPDATE 04.09.2017 - Added constant size version of custom shader | updated README to include images

UPDATE 12.09.2017 - Added uniform outline shader

UPDATE 23.12.2017 - Fixed some minor issues with custom, regular and uniform shaders | added showcase unity package

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].