UE5: World Position Effects in Materials // Unreal Engine Tutorial

Опубликовано: 28 Сентябрь 2024
на канале: Tech Art Aid
15,364
449

Support on Patreon:   / techartaid  
Get project files: https://techartaid.com/products/
Streaming weekly at   / techartaid  

Learn how to apply effects in materials based on world position of the object.

Calculate distance to pixels, shape them into masks with RemapRange. Make linear gradient, sphere or box mask, then mix textures using these masks. Apply world-based noise for extra detail.

00:00:00 Intro
00:09:30 Dirt mask from ground height
00:19:30 Local pixel position
00:26:09 Dynamic UV projection (planar mapping)
00:30:12 Spherical mask from given point
00:36:11 Box mask with smooth edge
00:39:54 Dividing space into blocks, with round/floor/ceil
00:47:10 Randomize properties per object (actor pivot)
00:57:56 Dynamic fire material from enemy location