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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
1281 언리얼4 Heat Distortion VFX for Fire in UE5 Niagara! (Photoshop & Normal Map Workflow) ????????✨ ashif 12.16 77
1280 2D 섭스턴스 디자인 - 색수차(Chromatic Aberration) 매직 오라 텍스처 만들기(한글자막) 금별 12.16 80
1279 언리얼4 언리얼 - 미호요 신작 스타일 Depth Fade와 UV 조작을 이용한 공간 포털 연출(한글자막) 금별 12.16 110
1278 언리얼4 언리얼5 - Polar Coordinates를 활용한 태극 무늬 제작 금별 12.16 64
1277 언리얼4 언리얼 - AAA 게임 개발에서의 나이아가라 모듈(Niagara Module) 연구 및 적용 금별 12.16 73
1276 유니티 유니티 - 유니티 스플라인 카메라 무브먼트 예제(워프 효과 연출) 금별 12.16 53
1275 언리얼4 언리얼 - 간단한 스타일라이즈드 불효과 제작과정팁 금별 12.16 63
1274 언리얼4 Simple Stylized Tornado VFX in UE5 Niagara! (Torus Mesh, Erode & Dynamic Params) ????️????✨ ashif 12.15 56
1273 2D 섭스턴스 디자인 - 움푹 파인 바닥 절차적 제작과정(한글자막) 금별 12.10 105
1272 언리얼4 언리얼 - Stylized 파도/물보라 제작과정 part3(한글자막) 금별 12.10 110
1271 언리얼4 언리얼 - Stylized 파도/물보라 제작과정 part2(한글자막) 금별 12.10 76
1270 언리얼4 언리얼 - Stylized 파도/물보라 제작과정 part1(한글자막) 금별 12.10 82
1269 언리얼4 언리얼 - 나이아가라 나선형 파티클 구현 과정 금별 12.04 144
1268 언리얼4 Create a Bubble Shield VFX in UE5 Niagara! (Character Defense & Multi-Layer Bubbles) ????️ ashif 12.02 149
1267 언리얼4 언리얼 - 흡입형 화면이 빨려들어가는 느낌 스크린 이펙트 제작과정(한글자막) 금별 12.02 195
1266 언리얼4 언리얼 - 물결무늬 에너지 실드 소재 제작과정(한글자막) 금별 12.02 163
1265 2D 포토샵 - 빛 효과 텍스쳐 간단 제작방법팁 금별 12.02 149
1264 3D 후디니 - COP 활용한 검기 텍스쳐 생성 과정(한글자막) 금별 11.24 220
1263 유니티 유니티 - ASE 활용 포털 조각 분리 및 트위스트 애니메이션 제작과정(한글자막) 금별 11.24 224
1262 언리얼4 언리얼 - 나이아가라 파티클 위치 및 곡선(Arc) 제어과정 금별 11.24 238
1261 언리얼4 언리얼5 - 나이아가라 객체 회전 예제 금별 11.24 217
1260 유니티 유니티 - (퀵팁) 간단한 파티클 orbit 움직임제어팁 금별 11.20 220

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand