# \[Material\] How to achieve stylized edge highlighting automagically

**URL:** <https://forums.unrealengine.com/t/material-how-to-achieve-stylized-edge-highlighting-automagically/475333>\
**Category:** Rendering\
**Tags:** unreal-engine, Shaders, question\
**Created:** [December 2, 2020, 7:22pm UTC](https://forums.unrealengine.com/t/material-how-to-achieve-stylized-edge-highlighting-automagically/475333 "2020-12-02T19:22:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [February 25, 2026, 5:09pm UTC](https://forums.unrealengine.com/t/material-how-to-achieve-stylized-edge-highlighting-automagically/475333/3 "2026-02-25T17:09:13Z")

</div>

Here’s an option:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/d/30d3c2422464ad52160965fbd2af216ba7a0a70a.jpeg "UE4 Screen Space Curvature Shader") ](https://www.youtube.com/watch?v=Qmi9LgH5N2E)

Blog Post

> **[Curvature](https://www.markserena.com/post/ue_screenspacecurvature/)**
>
> Reload modified Maya textures within timeframe.

Made screen space curvature shader recreated from here.

> **[Screen Space Curvature Shader - Made by Evan](https://madebyevan.com/shaders/curvature/)**

Forum post

> [@\[FREE\] Curvature Shader](https://forums.unrealengine.com/t/free-curvature-shader/91962):
>
> Hi, Made a curvature shader based of this [GLSL shader](http://madebyevan.com/shaders/curvature/) Updated to use BasePassPixelShader.usf version of NormalCurvatureToRoughness it’s cheaper and with a better result. [Youtube](https://www.youtube.com/watch?v=Qmi9LgH5N2E) The normals are interpolated linearly so the faceting can’t be fixed at the moment, but with higher resolution mesh or more math savy people (or UE4 will do smooth interpolated normals) this could be improved upon. Lemme know if you find it useful. Built in 4.16 but can be for any version. Zip attached ---- Upda…

---

_[View the full topic](https://forums.unrealengine.com/t/material-how-to-achieve-stylized-edge-highlighting-automagically/475333)._
