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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
1250 언리얼4 Cracked Lava Rock Material in UE5! (3D Noise, Burning Cracks & Instance Control Tutorial) ???????????? ashif 11.05 54
1249 유니티 유니티 - ASE로 UV Flow + Noise 흔들림 기본 VFX 셰이더 제작과정(한글자막) part3 금별 11.05 58
1248 유니티 유니티 - ASE로 UV Flow + Noise 흔들림 기본 VFX 셰이더 제작과정(한글자막) part2 금별 11.05 33
1247 유니티 유니티 - ASE로 UV Flow + Noise 흔들림 기본 VFX 셰이더 제작과정(한글자막) part1 금별 11.05 42
1246 언리얼4 언리얼/3Ds Max - 우주 느낌의 하트 제작_2 머트리얼 적용과정 금별 10.28 172
1245 언리얼4 언리얼/3Ds Max - 우주 느낌의 하트 제작_1 모델링/UV 제작과정 금별 10.28 123
1244 언리얼4 후디니/언리얼 - 후디니 활용 절차적(프로시졀) 검기 메시,텍스쳐 VFX 제작 기법(한글자막) 금별 10.28 135
1243 언리얼4 언리얼5 - 음파 VFX 제작: Niagara Particle과 기본 Scene 제작 금별 10.28 143
1242 언리얼4 언리얼5 - 음파 VFX 제작: Material 연결과 원리 분석 금별 10.28 117
1241 언리얼4 언리얼5 - 음파 VFX 제작: 모델링과 텍스처 기초 금별 10.28 115
1240 언리얼4 언리얼5 - 디지털 트랜지션 생성 및 파티클 픽셀화 제작과정(한글자막) 금별 10.22 167
1239 언리얼4 언리얼 - 데몬슬레이어 아카자 스킬 VFX 분석 금별 10.22 181
1238 언리얼4 언리얼5 - 테크노 스타일 매직 어레이/포스트 프로세싱 그리드 링 흐름 효과 제작과정(한글자막) 금별 10.20 146
1237 언리얼4 언리얼5 - 오클루전 활용한 지면 균열 머트리얼 생성과정(한글자막) 금별 10.20 140
1236 언리얼4 언리얼 - Lightmap UV 제거를 위한 에디터 유틸리티 제작 금별 10.17 156
1235 언리얼4 언리얼 - 텍스처 패킹 자동화: 기술 아티스트를 위한 시간 절약 도구 금별 10.17 146
1234 언리얼4 언리얼 - 폴라 UV는 타일링 텍스처 간단 활용 금별 10.17 131
1233 언리얼4 언리얼5 - 원형 링 마법진 왜곡 효과 구현 팁 금별 10.15 224
1232 언리얼4 언리얼5 - 물결 패턴 Normal Map 블렌딩 & 질감 교체 가이드 금별 10.15 203
1231 언리얼4 언리얼5 VFX 프로젝트 조직화 가이드: 폴더부터 명명 규칙까지(한글자막) 금별 10.14 187
1230 유니티 유니티 - Stylized 마법구 발사체 효과 제작과정 금별 10.14 204
1229 언리얼4 언리얼5 - 행성 흡수 제작과정 : Spline과 Blueprint 활용 part2 금별 10.12 194

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand