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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
275 유니티 유니티 - Stylized 폭포 제작하기 금별 2019.09.07 8496
274 유니티 Shuriken本執筆中!(内容更新) 댓글+3 금별 2019.01.14 7575
273 유니티 유니티 - 포탈이펙트 예제와 제작과정 금별 2019.09.09 5837
272 유니티 유니티 쉐이더 팁 - 유령 트레일효과 SIN WAVE TRAIL 금별 2019.08.02 5776
271 유니티 유니티 - Custom Vertex Stream and Shadergraph/Amplify Shader 금별 2019.12.29 5603
270 유니티 유니티 URP 쉐이더그래프 팁 - 블러만들기 금별 2020.04.01 5256
269 유니티 유니티 이펙트 튜토리얼 - 그라운드크랙 뎁스 마스크쉐이더 튜토리얼 금별 2019.03.20 5247
열람중 유니티 유니티 쉐이더 - 쉐이더그래프/앰플리파이 쉐이더에서의 커스터 버택스 스트림 사용 금별 2019.08.20 5169
267 유니티 유니티 이펙트 팁 - 포털제작 금별 2019.10.19 4877
266 유니티 유니티 이펙트 제작과정 - 사슬로 감싼 폭발형태 제작 금별 2019.08.30 4766
265 유니티 유니티 이펙트 - 발사체 참고영상외 + 팁 금별 2019.05.09 4754
264 유니티 유니티 쉐이더 팁 - 버블 쉐이더 만들기 금별 2019.07.14 4186
263 유니티 유니티 쉐이더 팁 - RzFX//Radar Scan World Grid 금별 2019.07.24 4076
262 유니티 게임에서 타격감을 살리기 위한 요소들 금별 2018.07.12 4050
261 유니티 유니티 이펙트 팁 - RzFX Flow Trail in Unity 금별 2020.02.27 3872
260 유니티 유니티 쉐이더 팁 - Rime 스타일의 폭포 제작 댓글+2 금별 2019.11.26 3714
259 유니티 유니티 - 스타게이트 효과 참고영상 금별 2019.10.29 3591
258 유니티 유니티 - 마스크 디스토션 림 쉐이더그래프 금별 2020.03.05 3197
257 유니티 유니티 이펙트 튜토리얼 - 자연스럽게 사라지는 폭발효과 만들기 댓글+3 금별 2018.12.01 3118
256 유니티 유니티 - Soft squish shader(부드럽게 찌그러지는) 댓글+1 금별 2019.07.09 3049
255 유니티 유니티 이펙트 팁 - 데스스트랜딩 홀로그램 효과 참고해 만들기 금별 2019.11.19 3028
254 유니티 유니티 - 트레일 만들기 미니팁 금별 2020.12.17 3001

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand