Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danini-the-panini/unity3d-silhouette-free

A method of doing Silhouettes in unity WITHOUT RenderTextures (Non-Pro)
https://github.com/danini-the-panini/unity3d-silhouette-free

Last synced: 15 days ago
JSON representation

A method of doing Silhouettes in unity WITHOUT RenderTextures (Non-Pro)

Awesome Lists containing this project

README

        

Silhouette in Unity3D
=====================

So this (probably outrageous) method involves drawing the silhouette at 50% gray before everything on a black background, then drawing the ground, multiplying it by OneMinusDstColor, then drawing everything else. The problem with this is that the background has to be cleared to black first, so you can't use a skybox. However, you can draw the skybox after the terrain (but behind the terrain) using a custom skybox shader.