Hey everyone!
I’ve been playing with Unreal model and post-processing shaders and wanted to share the codes with you, in case somebody will find them interesting.
Published
Adding Occlusion to Multicolor Soft Outline - PART I (post-process)
Adding Occlusion to Multicolor Soft Outline - PART II (post-process)
**Multicolor Soft Outline in Unreal Engine (post-process)
**](Multicolor soft outline in Unreal Engine)
**[Partial Post-Process Application (post-process)
https://2.bp.blogspot.com/-q2Vslv4tP9U/W3_oY0q1dvI/AAAAAAAAAW4/KxeYCEF5U0EttMiG2sHSi614oaKuN-1oQCLcBGAs/s1600/custom_depth_lens_res.png](Partial Post-Process Effect Application in UE4)**
Toon Shading (post-process)
https://2.bp.blogspot.com/-s_EvTV39Uz0/W1ZWu2IEFUI/AAAAAAAAAU8/dk-0T0KykV4S31uCiyKanaVkWrLgTX9XACLcBGAs/s1600/toon_postprocess.png](Cel Shading Post Process In Unreal Engine)
Hatch Shading with Light Direction (model)
https://1.bp.blogspot.com/-l6csNG1KRFM/WyGnsWz55tI/AAAAAAAAAT8/R1Q9f0MrMkcglqoiLpoBy-80cGZ35hWKQCLcBGAs/s1600/hatch_light_comp.png](Hatch Shading with Light Direction in Unreal Engine)
View-dependent Hatch shader (model)
Sobel edge detection (post-process)](Sobel Edge Detection in Unreal Engine)
Oil painting effect (post-process)](Oil Painting Post-process Effect in Unreal Engine)
**Material and Helper Functions **
HSV to RGB
Fixing Viewport Size in UE 4.19+
I’ll be really happy to hear your thoughts on this and if you use them feel free to share the projects images/videos. I’m always up to try doing more (mostly NPR shaders), so feel free to drop your suggestions for the effects. Hope this will help someone. Cheers!