Screen space outline(Post Process Material)

Step 0.

Mesh based outline :
https://gameenginebread.blogspot.com/2017/09/how-to-draw-outline-without-stencil.html

Mesh based outline looks good and easy to modify it's thickness and color. But it is too heavy to draw everything with outline mesh.
So, in this post, we will make post process material based on outline for full screen outline.




Step 1.

The basic idea is to draw the outline using depth values. This is the final material.


Step 2.

These are the result screenshots.

 Without outline.

With outline.


Remaining Issue.

It is easy to apply but has various drawbacks.
- It can't change thickness.
- It is difficult to exclude outline on certain objects.






Comments

Post a Comment

Popular posts from this blog

Liquid material in a bottle

How to Make Circular Progress Bar(or Rounded Rectangle)

MatCap material