Tried some outline rendering in #UE5 Based on JFA as described by @bgolus on his blog. bgolus.medium.com/the-quest-for-… I tried some tile based optimizations over the JFA setup he mentioned. Gives decent perf improvements :)
1. Classify tiles. Using 16x16 tile res here. 2. Expand based on max outline width. Super cheap! The expansion happens in 16px steps so usually just need to look at neighbor pixel for every 16px incr in width. 3. Only process the tiles with edges. Not using separable JFA here.
@amu_mhr @bgolus If possible, check the new Overlay Material Slot in UE5.1 probably the easiest way to do outlines now. x.com/drkfx/status/1…
@amu_mhr @bgolus If possible, check the new Overlay Material Slot in UE5.1 probably the easiest way to do outlines now. x.com/drkfx/status/1…