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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
74 언리얼4 언리얼4 - 버블쉐이더 금별 2019.08.20 2738
열람중 유니티 유니티 쉐이더 - 쉐이더그래프/앰플리파이 쉐이더에서의 커스터 버택스 스트림 사용 금별 2019.08.20 6708
72 언리얼4 토네이도와 폭발효과 만들기 금별 2019.08.18 5657
71 언리얼4 언리얼4 머터리얼 팁 - 텍스쳐없이 만드는 머터리얼 패턴 금별 2019.08.13 4633
70 유니티 유니티 쉐이더 그래프 - Weaving Ring Tutorial 2 댓글+1 금별 2019.08.12 2714
69 유니티 유니티 쉐이더 그래프 - Weaving Ring Tutorial 1 댓글+1 금별 2019.08.12 3255
68 유니티 유니티 쉐이더 팁 - 유령 트레일효과 SIN WAVE TRAIL 금별 2019.08.02 7594
67 유니티 유니티 쉐이더 팁 - RzFX//Radar Scan World Grid 금별 2019.07.24 5333
66 유니티 [NDC 2018] 게임 이펙트를 시작하는 법 금별 2019.07.18 2653
65 언리얼4 [NDC] 〈드래곤하운드〉 비주얼이펙트 연출 (언리얼4) 댓글+1 금별 2019.07.18 2849
64 유니티 유니티 쉐이더 팁 - 버블 쉐이더 만들기 금별 2019.07.14 6195
63 유니티 유니티 쉐이더 팁 - 스크린스페이스 맵핑을 객체의 월드포지션에 고정시키는 방법을 찾기 위한 사소한 팁 금별 2019.07.14 3406
62 유니티 유니티 쉐이더 튜토리얼 - 포트나이트형 갤럭시 쉐이더 제작 금별 2019.07.09 2916
61 유니티 유니티 - Soft squish shader(부드럽게 찌그러지는) 댓글+1 금별 2019.07.09 5012
60 유니티 유니티 - 홀로그램 행성 쉐이더 댓글+1 금별 2019.07.09 3217
59 유니티 유니티 반응형 풀 쉐이더 만들기 댓글+1 금별 2019.07.09 3876
58 유니티 유니티 이펙트 - 발사체 참고영상외 + 팁 금별 2019.05.09 6410
57 유니티 유니티 이펙트 튜토리얼 - 그라운드크랙 뎁스 마스크쉐이더 튜토리얼 금별 2019.03.20 7741
56 유니티 유니티 쉐이더 - 정점 쉐이더 애니메이션 입문 [일본자료 번역] 금별 2019.03.12 3056
55 언리얼4 언리얼4 이펙트 팁 - Sci-fi 홀로그래픽 쉐이더 튜토리얼 댓글+1 금별 2019.02.27 9641
54 언리얼4 언리얼4 이펙트 팁 - Magical Fire VFX 댓글+1 금별 2019.02.27 8905
53 유니티 유니티 Image Based Shader Programming 일본자료 번역 댓글+1 금별 2019.02.24 2530

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand