VerseIsland
FeedLearnLeaderboardGuidesReferenceExploreSearchDocsVerse Library
Sign in
Feed Learn 📖 Codex Leaderboard Guides Reference Explore Search Docs Verse Library
Browse UEFN›Materials/VFX·Up to UEFN · Materials/VFX·56 of 108 in Materials/VFX

Interactive Materials

Interactive Materials

An interactive material reacts on a mesh when it intersects with or is in close proximity to another mesh. This effect is achieved using a Distance field.

An interactive material reacts on a mesh when it intersects with or is in close proximity to another mesh. This effect is achieved using a Distance field.

Below are three ways to create a reactive material:

  • Using distance to create a mask that changes the color of a mesh,
  • Using a sine wave to cause ripples on the surface of the mesh where the two meshes intersect, and
  • Using a vector mask to cause the mesh surface to pull toward another mesh in close proximity and drape over the intersecting mesh.

The DistancetoNearestSurface node only works on platforms that have distance fields enabled. Therefore, the material may not work as expected on low performance PCs and mobile because distance field computation is often either a performance bottleneck, because of high-resolution fields, or a nearly impossible task because of degeneracies in input meshes.

Therefore, use the ShadingPathSwitch to force the shaders in the DistancetoNearestSurface to work as configured with mobile platforms and low performance PCs.

You're reading a preview

The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.

Sign in with Discord — free for members Read the original at Epic Games documentation

Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.

Guided course

Add this to your free study plan — we’ll suggest related material and stitch it into one compile-checked lesson.

Keep exploring
More in Materials/VFX · 56 of 108
Prev
conversion functions showing textures from a viewmodel
Next
create light effects in unreal editor for fortnite
Browse all files in this folder (A–Z)

Source

Epic Games documentation

View original

Last updated 2024-12-05T00:00:00+00:00

VerseIsland· an archipelago of Verse & UEFN knowledge
🗺️ Island atlasLearnGuidesHistoryAbout & PressSources & LicensingPrivacy PolicyTermsStatus

Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.

🦜

Scout · your island guide

The Isle of Verse