How To Interact With Grass In Android In UE5

Опубликовано: 21 Октябрь 2024
на канале: Surin
174
8

Interactive foliage is usually done with mesh distance fields but since Android renderer dos not support it we need to do it in another way. We take the player position and compare it with the mesh position in every frame using GPU and if it is closer than our specified distance it will react to the player based on the distance.
You can download the game for free from Playstore here :
https://play.google.com/store/apps/de...
Video Content :
00:00 - Intro
00:30 - Direct X and Open GL difference
01:00 - Setting up the character blueprint
01:50 - Create a new material collection
05:20 - Set up the material with world position offset
10:00 - Performance explanation