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



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

금별 0 7,328 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


번호 포토 분류 제목 글쓴이 날짜 조회
1320 언리얼4 Blood Slashes in Unreal Engine 5 Niagara ashif 14:05 8
1319 언리얼4 Beam Impact FX in Unreal Engine 5 Niagara ashif 04.11 27
1318 언리얼4 Fire Beam from Ground in Unreal Engine 5 Niagara ashif 04.10 30
1317 언리얼4 Arcane Ruin FX in Unreal Engine 5 Niagara ashif 04.09 42
1316 언리얼4 Arc Slash FX in Unreal Engine 5 Niagara ashif 04.09 35
1315 언리얼4 【UE5+후디니】UV 커스텀 무기 디졸브 기반 빠른 모델 제작_파트 2 금별 04.09 41
1314 언리얼4 【UE5+후디니】UV 커스텀 무기 디졸브 기반 빠른 모델 제작_파트 1 금별 04.09 41
1313 언리얼4 【UE5+후디니】루빅 큐브형태 애니메이션 연출 생성과정(한글자막) 금별 04.09 38
1312 언리얼4 【UE5+후디니】Stylized형태 검기을 생성 제작과정(한글자막) 금별 04.09 37
1311 언리얼4 【UE5+후디니】 동적 디졸브 구쉴드 생성 과정(한글자막) 금별 04.09 36
1310 언리얼4 Arcane Magic Lightning Eruption FX in Unreal Engine 5 Niagara ashif 04.05 74
1309 언리얼4 언리얼 - HLSL 커스텀노드_소벨 외곽선 추출 금별 04.04 82
1308 언리얼4 언리얼 - HLSL 커스텀노드_픽셀화 효과 제작과정 금별 04.04 68
1307 언리얼4 AOE Slam FX in Unreal Engine 5 Niagara ashif 04.01 81
1306 언리얼4 Illugen 활용 절차적 지면 크랙 효과 텍스처 생성(한글자막) 금별 04.01 112
1305 언리얼4 언리얼 - 파티클 원형 궤도(Circular Orbit) 위에서 자동 정렬방법(한글자막) 금별 04.01 114
1304 언리얼4 언리얼 - 간단한 머트리얼 디졸브를 구현하는 세 가지 방법(한글자막) 금별 03.22 216
1303 언리얼4 언리얼/후디니 -VAT 이펙트 툴체인 40분 설정: Niagara 워크플로우를 구축 방법(한글자막) 금별 03.22 181
1302 언리얼4 언리얼5 - 기본 스트라이프 렌더러 재질 효과 작성 방법(한글자막) 금별 03.22 152
1301 언리얼4 언리얼5 - 나이아가라는 입자를 나선형으로 움직이며 타깃에게 공격방법(한글자막) 금별 03.22 167
1300 언리얼4 언리얼5 - 나이아가라 입자의 원형 운동을 수동으로 조작 방법(한글자막) 금별 03.22 124
1299 언리얼4 언리얼5 - 나이아가라 입자를 특정 순서로 발사하여 적을 공격 방법(한글자막) 금별 03.22 137

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand