UE5.2: PCG - Apply TRUE Density Scaling

Опубликовано: 18 Июль 2023
на канале: UnrealityBites
12,635
368

IMPORTANT NOTE: THIS TUTORIAL ONLY WORKS FOR UNREAL ENGINE 5.2
Too many things have change in PCG in v5.3 so I will have to redo this video for 5.3 and beyond at some future date.

In this UE5.2 Procedural Content Generation tutorial, I'll show how to use the density attribute to create real density in your PCG graphs, both through dynamic filtering of point data and scaling by density.

This will be achieved using PCG Graph Nodes only (NO Blueprints) and we will end up with a reusable subgraph, which can be applied to other graphs in the future.

00:00 - Intro
00:50 - Prerequisites
01:07 - Adding Weight to PCG Mesh Structure
02:42 - Create PCG Node - Node Title
03:34 - Create PCG Node - Execute Context
05:58 - Create PCG Node - Point Loop
11:49 - Update Graph to use new node
14:35 - Example with collision/non-collision spawners