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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
715 유니티 유니티 셰이더 그래프 - Zelda: Breath of the Wild의 원격 폭탄 만들기(한글자막) 금별 01.27 224
714 언리얼4 언리얼5 - 화속성 화염 드래곤 토네이도 제작과정(중국어/AI한글자막) 금별 01.26 213
713 언리얼4 언리얼5 - 배경 운무(안개연기)효과 제작과정(중국어/AI한글자막) 금별 01.26 202
712 2D AI를 활용한 쉽게 배경 누끼 따는 사이트 금별 01.24 156
711 유니티 유니티 - 부분 화면 흔들기 셰이더 제작방법 금별 01.22 204
710 언리얼4 언리얼5 - 나이아가라 이미지 생성 파티클/모듈을 이용한 파티클 로고 만들기(AI자막) 금별 01.20 191
709 언리얼4 언리얼5 - UV 맵에 따라 파티클을 방출(중국어/AI자막) 금별 01.20 231
708 언리얼4 언리얼 - 커브에서 float값에 대한 보다 직관적인 값 입력 금별 01.19 134
707 언리얼4 언리얼5 - Red Smoke Flare Effect 제작과정 금별 01.19 165
706 유니티 유니티 앰플리파이 셰이더 - 병의 출렁이는 액체셰이더 제작과정 금별 01.16 188
705 유니티 유니티 - 카툰풍 플루이드형태 피튀김 효과 제작과정 금별 01.16 222
704 2D 애프터 이펙트 - 파티클 플레임 시퀀스 소스 제작과정 금별 01.16 128
703 언리얼4 언리얼 - 2D 카툰 물보라 간단제작팁(노드이미지첨부) 금별 01.15 170
702 유니티 유니티 - 카툰형 토네이도 제작과정 금별 01.13 228
701 유니티 유니티/후디니 - 카툰형 번개/바닥크랙,파편 이펙트 제작과정 금별 01.13 246
700 유니티 유니티 - 카툰 폭파 이펙트 제작과정 금별 01.11 327
699 언리얼4 언리얼 - 개인작/포트폴리오 영상 녹화방법 금별 01.10 193
698 2D 애프터이펙트 - 카툰 라이트닝 효과 제작과정(일본어/AI자막) 금별 01.10 186
697 2D 애프터이펙트 - 카툰 먼지 웨이브 효과 제작과정(일본어/AI한글자막) 금별 01.10 185
696 언리얼4 언리얼5 - Valorant Spike Explosion 제작과정 금별 01.08 187
695 언리얼4 언리얼5 - 블랙 매직 빔형태 캐논볼 제작튜토리얼 금별 01.08 295
694 언리얼4 언리얼 - 워리어 검기/휠윈드 트레일효과 제작과정(중국어/AI자막) 금별 01.05 331

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand