Profile PictureTom Looman
$5+

Local Outlines in Unreal Engine 4 (No Post-processing)

Add to cart

Local Outlines in Unreal Engine 4 (No Post-processing)

$5+

Link to full blog post: https://www.tomlooman.com/ue4-local-outlines/

Product includes most recent version of the "local outlines" material files - that do not use post-processing and safe performance by instead only drawing on a small portion of the screen using primitive shapes (cubes,spheres)

HOW TO USE:

- Unzip the material files in your MyProject/Content/ folder to it looks like: MyProject/Content/OutlineFX/...<Files>.uasset

- Add a Cube mesh to your scene that sits Around the mesh you wish to highlight and apply the material to that cube. It will now be invisible (use "T" hotkey if you can no longer select your cube by clicking on it)

- On the mesh you wish to outline, enable "Render Custom Depth" in the mesh's properties, also make sure you set the StencilIndex in the same properties to the SAME value as the material instance (eg. the example files use StencilIndex 1 and 2)

- Your material indices can use any index between 1 and 255 to make a unique instance and color, just make sure your material instance then matches the index assigned to the Mesh you want to outline.

Project Settings: Make sure you have Custom Depth With Stencil Enabled in your Project Settings, these should be located under Rendering.

------------------------------

For details on the technique check out the blog post linked at the top!

Support me by buying these Material files directly on Gumroad! It's much appreciated and helps me in writing more tutorials and resources for everyone.

Made with Unreal Engine 4.22+

For questions and comments, please use the blog post!

$
Add to cart
Size
259 KB
Copy product URL