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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
199 언리얼4 언리얼4 - 화염검 이펙트 제작 과정(중국어) 금별 2021.12.06 2550
198 언리얼4 언리얼4 - 쇼크웨이브 / 그라운드 이펙트 제작과정 댓글+1 금별 2021.12.02 3303
197 언리얼4 언리얼4 + 후디니 활용 구체 변형 효과 예제 댓글+1 금별 2021.12.01 2416
196 언리얼4 언리얼4 - 암석 스파이크 제작 과정(중국어) 동영상new 금별 2021.11.30 2278
195 유니티 유니티 - 귀멸의 칼날 느낌 검기와 회오리 이펙트 제작과정 프리뷰(중국어) 금별 2021.11.30 5084
194 유니티 유니티 - 검기/라인활용 크리스털 파괴효과 제작과정(중국어) 금별 2021.11.26 2813
193 유니티 유니티 이펙트 - 플로우맵 활용 흩어지는 연기제작(중국어) 금별 2021.11.01 3060
192 유니티 유니티 이펙트 - 토네이도 효과 만들기(중국어) 금별 2021.11.01 2778
191 유니티 유니티 이펙트 - 버택스 옵셋, 음악 리듬 머터리얼 만들기(중국어) 동영상new 금별 2021.11.01 3228
190 유니티 유니티 - 트레일 이펙트 제작 참고영상 금별 2021.11.01 3442
189 유니티 유니티 쉐이더 - 간단한 parallax 얼음표현 금별 2021.10.01 4801
188 언리얼4 언리얼5 - 기초 카오스(파괴/Destruction) 튜토리얼 금별 2021.09.27 3825
187 언리얼4 언리얼4 - 2d 원형 회오리 쉐이더 제작 참고 노드 금별 2021.08.29 4170
186 유니티 유니티 이펙트 튜토리얼 - 툰느낌의 토네이도 제작 영상 금별 2021.05.24 3710
185 유니티 유니티/블랜더 - 토러스 노멀로 불규칙한 링 모양 만들기 금별 2021.05.24 4525
184 언리얼4 언리얼4 Material Node에서 자주쓰는 Position 종류 노드 설명 금별 2021.05.24 3167
183 유니티 유니티 - Magical Plasma Orb 튜토리얼 금별 2021.05.20 2799
182 유니티 유니티 쉐이더 그래프 - 흐르는 강 쉐이더 튜토리얼 금별 2021.04.27 3062
181 유니티 유니티 쉐이더그래프 - Potion Liquid Wobble(액체 흔들림 효과) 금별 2021.04.26 4023
180 2D 섭스턴스 디자인 - 패턴 텍스쳐 제작 FX TUTORIAL 댓글+2 금별 2021.04.23 3821
179 유니티 유니티 쉐이더그래프 - 물방울 쉐이더제작 튜토리얼 링크new 금별 2021.04.22 3789
178 유니티 유니티 쉐이더 그래프 - 노이즈를 통한 버택스 꿀렁거림표현 금별 2021.04.09 5615

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand