유니티 이펙트 팁 - RzFX Flow Trail in Unity



유니티 이펙트 팁 - RzFX Flow Trail in Unity

금별 0 7,247 2020.02.27 16:40

I`m glad to share a work what I do for fun recently.
It is a flow trail shader in Unity 2018.2.4.
Amplify shader editor 1.5.8 for shader.
Substance designer 2018 for the texture.

Final result.
https://www.youtube.com/watch?v=w7BofLsV6IQ 878

The shader graph. (Full size link: https://drive.google.com/open?id=1x5fW5yX-r6p6mdbO35OrLzPlvdqmmhDG 292 )

FlowTrail_Breakdown_Full

FlowTrail_Breakdown_Full.jpg4260×1752 2.07 MB

 

The overview of the shader is included 4 part.

First: Define the main shape what I want for the trail.
Second: The way how to dissolve the shape. So I need a good motion for the mask.
Third : Fill the color.
Final : Optimize the visual. Mask some defect.

Here is the texture made within Substance designer for the shader.
RG: Work for distort the uv and the end of the trail dissolved.
B: The main shape of trail.

FlowTrail_TextureChannel

FlowTrail_TextureChannel.jpg1920×1080 222 KB

 

 

SD_Texture_FlowTrail

SD_Texture_FlowTrail.jpg1546×704 225 KB

 

The first step.
Do the main motion of trail. And add a little distort noise at uv coordinate for B channel.
There is a tip that is the node “Constant Bias Scale”.
It remap the value of noise from 0~1 to -1~1. As a result, it will keep the distorted trail at the center.
And I multiply the gradient of U coordinate to keep the shape in the start position and more distortion in the end position. As the result, the shape of trail will be more variety.

FlowTrail_Breakdown_01

FlowTrail_Breakdown_01.jpg3267×690 610 KB

 

Dissolve mask.
As the trail moving to the end will be dissolved by the noise from G channel.
In order to keep the initial opacity, it add the gradient of U coordinate.

FlowTrail_Breakdown_02

FlowTrail_Breakdown_02.jpg1806×438 264 KB

 

Color.
To fill the two color from start to end. It is filled full size.
If it multiplied the value of opacity, the pixel which less than 1 goes to black.
So, I created a switch to do the dark edge or not.

FlowTrail_Breakdown_03

FlowTrail_Breakdown_03.jpg1449×903 397 KB

 

Edge mask.
As the value of “Flow Strength” went over, the trail will move over the area.
So, I need a mask making it to be smooth fade out when it over the edge.

FlowTrail_Breakdown_04

FlowTrail_Breakdown_04.jpg1489×348 132 KB

 

That is all.

In fact, there is no more special. But just within some adjustment to make it better.
Please feel free any feedback or idea. 

Comments


번호 포토 분류 제목 글쓴이 날짜 조회
1304 언리얼4 언리얼 - 간단한 머트리얼 디졸브를 구현하는 세 가지 방법(한글자막) 금별 03.22 85
1303 언리얼4 언리얼/후디니 -VAT 이펙트 툴체인 40분 설정: Niagara 워크플로우를 구축 방법(한글자막) 금별 03.22 65
1302 언리얼4 언리얼5 - 기본 스트라이프 렌더러 재질 효과 작성 방법(한글자막) 금별 03.22 60
1301 언리얼4 언리얼5 - 나이아가라는 입자를 나선형으로 움직이며 타깃에게 공격방법(한글자막) 금별 03.22 62
1300 언리얼4 언리얼5 - 나이아가라 입자의 원형 운동을 수동으로 조작 방법(한글자막) 금별 03.22 46
1299 언리얼4 언리얼5 - 나이아가라 입자를 특정 순서로 발사하여 적을 공격 방법(한글자막) 금별 03.22 59
1298 언리얼4 언리얼5 - 나이아가라 원형으로 입자를 발사해서 타깃에게 움직이기(한글자막) 금별 03.22 48
1297 언리얼4 언리얼5 - 나이아가라 입자를 원형으로 움직이게 하는 방법(한글자막) 금별 03.22 63
1296 언리얼4 Sci-Fi Hex Shield FX in Unreal Engine 5 Niagara ashif 03.22 57
1295 언리얼4 Rock Spike Eruption FX in UE5 Niagara ashif 03.16 110
1294 언리얼4 언리얼 - 흑백 플래시 포스트 프로세스 연출 제작팁 금별 02.11 384
1293 3D 후디니 활용 - 블랙홀 폭발 포인트 텍스처 제작과정 금별 02.11 299
1292 언리얼4 Unreal Engine 5 Tutorial: Create a Cursed Mist VFX ashif 02.10 258
1291 언리얼4 언리얼 - 나이아가라 Advanced Guide – 위치 기반 동역학 금별 01.09 586
1290 언리얼4 Niagara로 생성된 Static Mesh에서 파티클 스폰하기 금별 01.09 551
1289 언리얼4 언리얼 - 나이아가라로 스플라인을 따라 발사되는 파티클 제작 금별 01.09 441
1288 언리얼4 언리얼5 - 어검술의 완성 : 검진(Sword Array) 심화 기동 및 고급 제어(한글자막) 금별 01.09 452
1287 언리얼4 언리얼5 - 벡터 연산을 활용한 검진(Sword Array) 지정 방향 발사 로직(한글자막) 금별 01.09 392
1286 언리얼4 언리얼5 - Particle Reader를 활용한 검진(Sword Array) 타겟 추적 및 회전 제어(한글자막) 금별 01.09 334
1285 언리얼4 언리얼5 - 파티클 Index를 활용한 원형 검진(Sword Array) 배치 제작과정(한글자막) 금별 01.09 332
1284 언리얼4 언리얼5 - VHS 포스트 프로세스 제작과정 금별 01.09 336
1283 언리얼4 언리얼5 - 데드 스페이스 VFX reborn[팬메이드] 금별 01.09 354

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand