满心欢喜 发表于 2022-10-7 10:21:09

CelEdge - Cel Shading Outline Post Process 物体阴影材质

本帖最后由 满心欢喜 于 2022-10-8 20:47 编辑



Package includes 1 Post Process material with around 200 instructions
Outlines are robust and naturally vary in width, large distances are thicker and short are thin
Your choice of outline color or you can base it off the scene's color
Cel shading available in two forms, a two-tone with a gradient blend, and a band based also with a variable sharpness gradient blend
Fully commented nodes (short descriptions)
Includes sample scene and meshes

Setup:
Make sure you have a post process volume in the level with 'unbound' or 'infinite extent' checked
add the material as a post process asset
you may need to change from temporalAA Anti Aliasing as it creates flickering (FXAA recommended)
Adjust the variables as you see fit, be sure to back up a copy to reference default values

Features:
Outline
global thickness
edge tolerance
edge gradient
'Cel' Shading
Banding or Two-tone
gradient sharpness (pow nodes)
darkness
shadow adjustment (also see your lights' settings)
responds to all/any lights
transparency isn't erased (see included glass example)
Comparison
Set Compare to 1 to see original side-by-side with end result





页: [1]
查看完整版本: CelEdge - Cel Shading Outline Post Process 物体阴影材质