유니티 쉐이더 - 쉐이더그래프/앰플리파이 쉐이더에서의 커스터 버택스 스트림 사용



유니티 쉐이더 - 쉐이더그래프/앰플리파이 쉐이더에서의 커스터 버택스 스트림 사용

금별 0 5,929 2019.08.20 03:33

 

 

One simple way is setting your colors as HDR in shadergraph

 

and use AgePercent to Lerp between the color

 

 

The only counterpart is if you want 4 different colors over the particule life, you will have to declare 4 colors :

 

 

 

Here the result :

 

 

In few words, each smoothstep provide a [0-1] value to lerp between the different colors.
The smoothstep range is define by [1 / 3 (numberOfSmoothstep)]

 

  • for the first one you have [0 => 0.33]
  • the seconde one : [0.33 => 0.33 * 2]
  • the last one : [0.33 * 2 => 0.33 * 3]

 

I hope it’s what you’re looking for in a way!
And here the shader for example (you can see the setup for shuriken in the gif). Sorry, i don’t know how to add commentary in shadergraph… and it’s look like it’s impossible for the moment!

 

다운로드

https://drive.google.com/file/d/19oafzIyZIg3qzvszjFwKc0z7ZHYOiPUZ/view

 

 

Ok, so here is what I have:

 

Pretty basic, i just want to influence the alpha.

Now I want to join a noise with it, a multiply should be enough:

 

 

Here is the result:

 

 

And here is the setting for the particle system

 

 

It completely ignores any values put on the custom data. But if I remove UV (TXCOORD0.xy)

 

 

 

Well, it works ! Buuuut now it loses its ability to read the texture.

If it isn’t clear enough please tell me ! And thank you for dedicating time for newbies like me <3

 

 

 

Comments


번호 포토 분류 제목 글쓴이 날짜 조회
1127 언리얼4 Pixelated Portal in Unreal Engine 5 Niagara Tutorial ashif 02.21 33
1126 유니티 유니티 UI 앰플리파이 셰이더 - 패턴에 빛 스와핑 효과 제작예제 금별 02.21 52
1125 언리얼4 언리얼 UMG - 비디오 올리고 비디오 스타일 처리수행과정 금별 02.21 49
1124 언리얼4 언리얼5 - 허공에 찢어지며 생기는 포털 제작과정(한글자막) 금별 02.21 51
1123 언리얼4 언리얼 - 그래디언트를 매끄럽게 혼합해 텍스쳐 변형하는 간단팁 금별 02.21 45
1122 3D 3D - 방사형 충격파 간단제작과정 금별 02.21 43
1121 언리얼4 언리얼 - 흡수성 머트리얼 간단제작과정 금별 02.21 45
1120 유니티 유니티 - 볼류메트릭 메쉬 VFX 모델링 머드번 활용예제 금별 02.21 43
1119 언리얼4 언리얼 - 카메라 연출관련 플러그인 Black Eye Cameras Overview 튜토리얼(한글자막) 금별 02.21 39
1118 언리얼4 언리얼5 - 스켈레탈 메시에 대한 Interactive Wetness Mask & Dripping Effects 제작과정(한글자막) 금별 02.21 44
1117 3D 후디니 - 피어나는 꽃봉오리 제작과정(한글자막) 금별 02.21 42
1116 언리얼4 언리얼 - 나이아가라 간단한 촉수효과 제작과정(한글자막) 금별 02.21 39
1115 언리얼4 게임이펙트의 모든것! 졸업생 "김연아" 인터뷰_01 금별 02.19 90
1114 언리얼4 언리얼5 - 푸른 아우라 폭발 레이어별 제작간단예제 금별 02.15 131
1113 언리얼4 언리얼5 - 카오스 시스템 시작 가이드(한글자막) 금별 02.15 111
1112 언리얼4 린반Live - 언리얼 이펙트 클래식 리뷰하기1 금별 02.15 97
1111 언리얼4 언리얼5 - 시네마틱을 위한 총 머즐플래시 이펙트 제작과정(한글자막) 금별 02.15 95
1110 언리얼4 언리얼 - UV활용 가짜 구형(스피어) 벌지 셰이더 노드예제 금별 02.15 92
1109 언리얼4 언리얼5 나이아가라 - 커스텀 네온 텍스트 스크롤링 효과 제작과정(한글자막) 금별 02.15 90
1108 언리얼4 언리얼 - 표면에 스프라이트를 뎁스 마스크 활용 예제 금별 02.15 89
1107 언리얼4 언리얼5/후디니 - 후디니에서 UE5로 ID정보 내보내기(한글자막) 금별 02.15 85
1106 언리얼4 언리얼5 - 로컬스페이스 3D 프로젝션[UV의 공간 텍스쳐 투영](한글자막) 금별 02.15 87

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand