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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
844 언리얼4 언리얼5 - BumpOffset에 관한 설명 및 사용예제(한글자막) 금별 05.18 20
843 유니티 유니티 셰이더 그래프 - 홀로그램 카드 제작방법(한글자막) 금별 05.18 19
842 언리얼4 언리얼5 - 나이아가라를 활용한 히트 이펙트 제작과정(한글자막) 금별 05.18 18
841 언리얼4 Impact FX in UE5.4 Niagara | For Patreon ashif 05.15 30
840 언리얼4 린반 언리얼 이펙트 라이브(5.15일자) - 레이아웃의 중요성 금별 05.15 46
839 3D 블랜더 Stylized VFX - 에너지 볼 생성 방법(한글자막) 금별 05.14 37
838 3D 블랜더 Stylized VFX - 알파 카드를 활용 2D 드래곤볼 파워업 효과 제작과정(한글자막) 금별 05.14 31
837 유니티 KUPAFX 유니티 이펙트 취업 클래스 모집중[24년 6월 시작/매우높은취업률] 금별 05.11 45
836 언리얼4 언리얼5 - 나이아가라 스플라인 이펙트 제작과정(한글자막) 금별 05.10 94
835 언리얼4 언리얼5 - 나이아가라 구안에서의 파티클 움직임 제어방법 금별 05.10 63
834 언리얼4 언리얼 - UV, UV Flow 머트리얼 제작 개념(한글자막) 금별 05.09 75
833 언리얼4 언리얼 - Star Burst 효과 제작과정(한글자막) 금별 05.09 73
832 유니티 유니티 - Ezreal Slash VFX 제작과정(한글자막) 금별 05.08 84
831 언리얼4 언리얼 - 로테이터 노드 활용 UV 나선형으로 왜곡하는방법 금별 05.07 66
830 언리얼4 언리얼 - 프로시졀(절차적) Light spot 머트리얼함수 제작과정(한글자막) 금별 05.07 70
829 3D 블랜더를 활용한 Stylized 폭포 제작과정(한글자막) 금별 05.06 49
828 2D 3D 솟구치는 소용돌이 아우라 효과 레이어별 제작과정영상 금별 05.05 93
827 2D 2D 아우라 소용돌이 짧은 제작과정영상 금별 05.05 63
826 언리얼4 언리얼 - 프로시졀(절차적) Light spot 머트리얼함수 제작과정(한글자막) 금별 05.03 72
825 언리얼4 언리얼 - 포토샵을 활용한 경로 그라데이션 효과 제작과정(한글자막) 금별 05.03 78
824 언리얼4 언리얼 - 메카봇 파괴 효과 간단 제작과정 금별 05.03 73
823 언리얼4 언리얼5 - 나이아가라 리본을 활용한 단순한 거미줄 효과 제작과정(한글자막) 금별 05.03 69

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand