Minor update with 100% more Fresnel Outlines! In order to allow thick outlines, I added an intensity modifier which allows me to skip powering entirely. Since we need sharp outlines, I just floor the resulting value and let the intensity modifiers do the work adjusting the thickness instead. Like the geometry outlines, it can also be thickened according to the light. Here it is with the geometry outline in blue and Fresnel outlines in red
I’m still not completely satisfied with these. Because of Unity’s light system it costs 4 passes  when it should rightfully only cost 2 like it does in Maya . Additionally it misses a lot of interior lines that a more robust solution might be able to catch. In any case, here it is. If i improve it in the future i’ll post that as well.

Maya CGFX File:

outline2.cgfx
File Size: 9 kb
File Type: cgfx

Download File


Unity SHADER File:

outline2.shader
File Size: 16 kb
File Type: shader

Download File


Leave a Reply

Your email address will not be published. Required fields are marked *