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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
1193 공구,번역정보 언리얼5 - Niagara로 카메라 추적 VFX 파티클 만들기 금별 09:31 7
1192 언리얼4 Unreal Engine 5: Create Stunning Liquid UI Bars with Custom Wave Height & Flow ashif 07.01 28
1191 언리얼4 UE5 UI Material Tutorial - Creating Selection FX for Interactive Game Menus ashif 06.30 38
1190 언리얼4 언리얼5/후디니 - Explodable Skeletal Meshes 만들기 part2(한글자막) 금별 06.27 67
1189 언리얼4 언리얼5/후디니 - Explodable Skeletal Meshes 만들기 part1(한글자막) 금별 06.27 56
1188 언리얼4 Master Progress Bar UI Widget in UE5 - Dissolve & Distort Material Effects ashif 06.25 54
1187 언리얼4 언리얼5 - 인디 게임 VFX 성능 최적화 몇가지팁(한글자막) 금별 06.24 88
1186 언리얼4 후디니/언리얼5 - Pivot Painter 구현과 파괴 효과 제작과정2/데이터맵 언리얼로 임포(한글자막) 금별 06.24 68
1185 언리얼4 후디니/언리얼5 - Pivot Painter 구현과 파괴 효과 제작과정(한글자막) part1 금별 06.24 53
1184 유니티 유니티 앰플리파이 셰이더 - 스텐실 크랙 간단 제작과정(한글자막) 금별 06.24 74
1183 언리얼4 언리얼5 간단팁 - 컨텐츠 브라우저 복제팁(Advanced Copy Here) 금별 06.23 72
1182 언리얼4 린반라이브 - 무엇이든 물어보세요(크래쉬 해결 방법/스태틱메시 뷰모드에서 노멀맵 보기/애셋 삭제 주의사항 등) 금별 06.19 64
1181 언리얼4 언리얼5 - Niagara로 실감나는 핏물 VFX 제작과정(한글자막) 파트1 금별 06.19 88
1180 유니티 유니티 - Ground Effect와 검기 기초 제작가이드(한글자막) 금별 06.17 90
1179 유니티 유니티 VFX[검기] : 검기 나비 VFX/Particle System과 Airflow 효과 제작가이드(한글자막) 금별 06.17 100
1178 유니티 유니티 VFX[검기] : 검광과 화염 효과 제작 가이드(한글자막) 금별 06.17 64
1177 유니티 유니티 VFX[검기] : 세 가지 검기(Sword Trail) 제작 기법 가이드(한글자막) 금별 06.17 88
1176 언리얼4 언리얼5 - 마야 프렉쳐 시뮬레이션을 언리얼에서 임포팅(한글자막) 금별 06.16 85
1175 언리얼4 The Ultimate UE5 UI Material Tutorial: Mastering Radial Progress Bars ashif 06.12 349
1174 언리얼4 Step-by-Step: Building a Customizable Slider Material in Unreal Engine ashif 06.11 409
1173 언리얼4 언리얼5 - Sci-fi 격자 지형 균열 VFX 제작과정(한글자막) 금별 05.30 1040
1172 언리얼4 언리얼5 - 레이저 반사 VFX 제작과정(한글자막) 금별 05.30 1016

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand