# UE 5.7.4 PCG — placing objects along the border between black and white in a texture, and orienting them along an imaginary line

**URL:** <https://forums.unrealengine.com/t/ue-5-7-4-pcg-placing-objects-along-the-border-between-black-and-white-in-a-texture-and-orienting-them-along-an-imaginary-line/2715188>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [April 14, 2026, 9:03am UTC](https://forums.unrealengine.com/t/ue-5-7-4-pcg-placing-objects-along-the-border-between-black-and-white-in-a-texture-and-orienting-them-along-an-imaginary-line/2715188 "2026-04-14T09:03:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Mints](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bob\_Mints](https://forums.unrealengine.com/u/Bob_Mints)\
**Post date:** [April 14, 2026, 9:03am UTC](https://forums.unrealengine.com/t/ue-5-7-4-pcg-placing-objects-along-the-border-between-black-and-white-in-a-texture-and-orienting-them-along-an-imaginary-line/2715188/1 "2026-04-14T09:03:28Z")

</div>

Maybe someone can help solve this problem.  
I used a texture and a couple of filters to create points along the border between black and white. Is there a way to avoid pixelation and orient the points along an imaginary smooth line?

This is needed to place a fence or a front layer of trees. I don’t want to draw a spline manually 🙂

What I tried:

1. Orienting points using a “Look At” approach, but it didn’t work for me

2. Generating a virtual spline from these points and then placing points along that spline — also couldn’t get it working

 ![1111](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/d/48d885a2f4de518e6eafaa15e89ee0d169325413.jpeg)
