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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
817 유니티 유니티 쉐이더 팁 - RzFX//Radar Scan World Grid 금별 2019.07.24 4188
816 유니티 유니티 쉐이더 팁 - 유령 트레일효과 SIN WAVE TRAIL 금별 2019.08.02 5902
815 유니티 유니티 쉐이더 그래프 - Weaving Ring Tutorial 1 댓글+1 금별 2019.08.12 2185
814 유니티 유니티 쉐이더 그래프 - Weaving Ring Tutorial 2 댓글+1 금별 2019.08.12 1717
813 언리얼4 언리얼4 머터리얼 팁 - 텍스쳐없이 만드는 머터리얼 패턴 금별 2019.08.13 3189
812 언리얼4 토네이도와 폭발효과 만들기 금별 2019.08.18 3970
열람중 유니티 유니티 쉐이더 - 쉐이더그래프/앰플리파이 쉐이더에서의 커스터 버택스 스트림 사용 금별 2019.08.20 5303
810 언리얼4 언리얼4 - 버블쉐이더 금별 2019.08.20 1710
809 유니티 Skeleton Mage Summon With Shaders and Textures 금별 2019.08.20 1448
808 유니티 유니티 버텍스 옵셋 효과 예제 Juane Gray 금별 2019.08.20 1719
807 유니티 마법적 구슬형태 제작 금별 2019.08.30 2031
806 유니티 유니티 이펙트 제작과정 - 사슬로 감싼 폭발형태 제작 금별 2019.08.30 4924
805 유니티 유니티 - 원통형 메쉬에 토네이도형 uv 흐름제어 금별 2019.08.30 1903
804 유니티 유니티 - Stylized 폭포 제작하기 금별 2019.09.07 8869
803 유니티 유니티 - 포탈이펙트 예제와 제작과정 금별 2019.09.09 5963
802 언리얼4 언리얼4 - 버텍스 옵셋 예제와 노드 금별 2019.09.16 3309
801 언리얼4 언리얼4 이펙트 팁 - Rift to R’lyeh FX 금별 2019.10.15 3601
800 유니티 유니티 이펙트 팁 - 포털제작 금별 2019.10.19 5022
799 유니티 유니티 - 2d Raymarched Smoke 댓글+5 금별 2019.10.26 1644
798 유니티 유니티 - 스타게이트 효과 참고영상 금별 2019.10.29 3786
797 언리얼4 언리얼4 팁 - Gradient Mapping 금별 2019.10.29 2726
796 언리얼4 언리얼4 VFX Basics - Creating the scrolling texture with mask setup 금별 2019.10.31 4899

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand