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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
148 유니티 유니티 쉐이더그래프 - 노이즈 관련 이미지 팁 금별 2020.08.06 3501
147 유니티 유니티 - 매직 카드제작 트릭팁 금별 2020.08.02 2648
146 언리얼4 언리얼4 - 머터리얼에서 양면 렌더링 방법 금별 2020.07.30 3936
145 언리얼4 언리얼4 - Vertex(정점) Offset 흡수 효과 금별 2020.07.30 4327
144 유니티 유니티 앰플리파이 쉐이더 이펙트 - 물속성+불속성 토네이토 금별 2020.07.30 2429
143 언리얼4 언리얼4 나이아가라 - 트레일관련 미니팁 금별 2020.05.30 2369
142 유니티 유니티 - 기어즈5 Hammer of Dawn 이펙트 만들기 댓글+1 금별 2020.05.16 2236
141 유니티 포토샵으로 디졸브 쉐이더를 사용해 2D 툰이펙트 제작팁 댓글+2 금별 2020.05.16 4559
140 언리얼4 언리얼4 이펙트 튜토리얼 - 애펙을 사용한 트랜지션 효과 만들기 금별 2020.04.01 3335
139 유니티 유니티 URP 쉐이더그래프 팁 - 블러만들기 금별 2020.04.01 6490
138 유니티 유니티 HDRP에서 소규모 고품질의 영상 제작 - Unite Tokyo 2019 금별 2020.03.29 2224
137 3D Visual Effects Bootcamp: The Rise of Realtime 금별 2020.03.26 2255
136 언리얼4 언리얼4 머터리얼 튜토리얼 - Procedural 노이즈제작 금별 2020.03.26 2259
135 언리얼4 언리얼4 머터리얼 팁 - 머터리얼만으로 밴드형태 구현하기 금별 2020.03.26 2557
134 언리얼4 언리얼4 머터리얼 팁 - 머터리얼만으로 트위스트 구현하기 금별 2020.03.26 2066
133 유니티 유니티 쉐이더 그래프 - Orthographic 뎁스 금별 2020.03.26 2071
132 언리얼4 언리얼4 머터리얼 튜토 - 플립북 모션벡터의 비대칭 RowCollumn 카운트 수정 금별 2020.03.19 2116
131 유니티 유니티 쉐이더 그래프 - 꼬여지는듯한 착각의 쉐이더 금별 2020.03.19 2418
130 언리얼4 언리얼4 이펙트 팁 - 꿀렁이는 액체머터리얼 금별 2020.03.14 4411
129 3D [후디니]간단한 UV twist 방법 댓글+1 금별 2020.03.14 3171
128 2D 번개 효과 제작 간단팁 영상 댓글+2 금별 2020.03.13 3664
127 언리얼4 언리얼4 - 리퀴드 이로이젼(침식) 효과 금별 2020.03.12 3143

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand