Surface Trails

RomanSmirnov - 블루프린트 - 2018/09/11

Surface trails system allows you to capture trails from objects on a surface. As main usage example there is snow landscape demo with character and physics objects leaving deformation trails after them.

  • 지원 플랫폼
  • 지원 엔진 버전
    4.19 - 4.27
  • 다운로드 유형
    전체 프로젝트
    이 제품은 언리얼 엔진 프로젝트 전체 폴더와 함께 환경 설정 파일, 콘텐츠 파일 및 .uproject 파일을 포함하고 있으며 새로운 프로젝트를 생성할 때 템플릿으로 사용할 수 있습니다.

***Monthly Unreal Engine Sponsored Content product for October 2021***


Check out RomanSmirnov's other products here: RomanSmirnov Content 


Video: https://youtu.be/q66uIcjD8gI

Tutorial: https://youtu.be/hHZwvYIkuwg


Surface trails system allows you to capture trails from characters or any other objects on a surface by attaching spherical components to them. As main usage example there is snow landscape demo with walking character and physics objects leaving deformation trails after them. 100% Blueprints.


Features: 

  • Trails are captured and stored in some area (configurable) around player's camera, so this system is independent from map size.
  • Attenuation of old trails can be configured (can be set to zero so the trails stay forever inside defined area around camera).
  • Trail shape is defined by spherical components with configurable hardness. So for definition of a box, for example, you need to attach several components to it (components count depends on required accuracity, in example scene there are 8 components per box and 2 components per character foot).
  • Actors are marked as trails receivers by applying special Tag to them.
  • System can be used for big variety of cases (trails on water, grass crumpling, any other surface VFX) by draging one material function into material.
  • Snow landscape example includes photogrammetry based dirt material appearing under the snow.

기술적 세부사항

Performance notes:

System uses rendering to render targets, so it will affect GPU performance. This can be optimized for low performance platforms by decreasing render target resolution. By default resolution is 2048x2048 and all render targets will cost 24 MB of GPU memory.

If you are going to use snow deformation from example for your project, make sure that landscape tessellation also fits your performance budget.


Multiplayer note:

The system works in multiplayer independently for each player because it depends of player camera. It will produce similar results for different players as long as their cameras are closer to each other then the parameter MaxDistance in BP_TrailsManager. When testing in multiplayer be sure that game instances DON'T use single editor process. Uncheck checkbox 'Use single process' in 'Advanced Settings...' under the Play button. (UE4 documentation page)


Number of Blueprints: 6

Network Replicated: No

Supported Development Platforms: Windows

Supported Target Build Platforms: Windows

Documentation: ExampleMap and tutorial video

Additional information: Asset is distributed as a complete project (because of necessity to handle user input for demo purpose), however system itself doesn't require any additional project configuration and can be easily migrated.