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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
770 2D 애프터이펙트 - 2D 물속성 원통회전 효과 제작과정 금별 03.17 139
769 2D 애프터이펙트 - 2D 물회오리 형태 아우라 모이는 효과 제작방법(한글자막) 금별 03.14 121
768 언리얼4 언리얼 - Stylized 연기효과 제작과정(한글자막) 금별 03.13 183
767 언리얼4 언리얼 - 워터링 머트리얼 제작노드예제 금별 03.11 160
766 유니티 유니티 셰이더 그래프 - 글리치 효과 제작과정 금별 03.10 179
765 3D 후디니를 사용해서 이펙트 메쉬 제작후 HDA툴 제작하기 금별 03.10 122
764 2D 섭스턴스 디자인 - 물튀김 텍스쳐 제작과정 금별 03.10 174
763 2D 포토샵/맥스 - 연기형태의 메쉬 및 텍스쳐 제작방법 금별 03.10 143
762 2D 포토샵 - 잎파리/눈결정체 시퀀스 제작하기 금별 03.10 143
761 2D 포토샵 - 수박무늬 베이스 롤스타일 바닥크랙 텍스쳐 제작과정 금별 03.10 106
760 언리얼4 메쉬를 활용 페이크 볼류메트릭 스모크 간단제작짤방 금별 03.08 146
759 언리얼4 언리얼/게임이펙트기초 - 린반님의 사소한 라이브1(질답위주 라이브) 금별 03.06 123
758 2D 섭스턴스 디자인 - VFX 해골 네크로 발사체 트레일 텍스처 제작방법 part1(한글자막) 금별 03.06 134
757 언리얼4 언리얼5 - 리마스터 파라곤 FX part1 금별 03.06 146
756 언리얼4 언리얼 - 나이아가라에서 For Loops를 사용해 가장 높은 파티클 찾기(한글자막) 금별 03.05 108
755 언리얼4 언리얼 - 충돌(콜리전) 채널로 충돌 제어(한글자막) 금별 03.05 98
754 언리얼4 언리얼 - 월드포지션옵셋으로 뿌리를 내리는 효과 제작과정(한글자막) 금별 03.05 101
753 언리얼4 언리얼 - 머트리얼과 나이아가라를 사용하여 오브젝트 크기 조정(한글자막) 금별 03.05 90
752 언리얼4 언리얼 - 차원 포탈 생성 VFX 제작과정 금별 03.04 215
751 언리얼4 언리얼 - Sobel 외곽선 탐지 포스트 프로세스 제작과정(한글자막) 금별 03.04 108
750 언리얼4 언리얼 - VFX 아티스트로서 더 빠르게 작업하기 위한 단축기 사용법(한글자막) 금별 03.04 108
749 유니티 유니티 셰이더 그래프 - 가까운 거리에 따른 오퍼시티 변화 셰이더효과 제작과정(한글자막) 금별 02.28 171

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand