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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
815 언리얼4 Comets Rain in UE5.4 Niagara | For Patreon ashif 00:22 10
814 언리얼4 Stylized FX in UE5.4 Niagara | For Patreon ashif 04.25 33
813 3D 이펙트의 모든것! 게임직 TA 김용남 인터뷰_01 금별 04.24 35
812 언리얼4 언리얼5 - HLSL을 활용한 이미지 블러 효과 제작과정(한글자막) 금별 04.24 43
811 언리얼4 언리얼5 - 아티스트를 위한 흥나는 프로파일링!: RenderDoc 금별 04.24 40
810 3D 메쉬 UV패닝을 활용한 곡선 트레일 제작짧은팁 금별 04.22 53
809 언리얼4 Breaking Beams in UE5.4 Niagara | For Patreon ashif 04.21 35
808 언리얼4 언리얼5 - 포스트 프로세스 활용한 글리치 효과 노드(다운로드가능) 금별 04.21 48
807 언리얼4 언리얼5/후디니 - 상호작용 VFX 시스템/VAT효과 제작과정(정교한 한글자막) 금별 04.21 46
806 언리얼4 언리얼5 - 텍스처가 없는 포스트트로세스와 같은 CRT효과 제작노드(다운로드가능) 금별 04.21 35
805 언리얼4 언리얼/유니티 - 특수효과 최적화 간단팁들 금별 04.20 49
804 언리얼4 언리얼5 - 파라곤 이펙트를 나이아가라로 리마스터링(한글자막) 금별 04.19 58
803 유니티 유니티 셰이더그래프 - 반응형 파티클 제작과정(한글자막) 금별 04.19 55
802 유니티 유니티 - 앰플리파이셰이더 활용한 극좌표 소용돌이 형태 제작과정(한글자막) 금별 04.18 48
801 유니티 유니티 - 셰이더그래프 활용한 UI에 적용동 스크롤버튼 제작과정(한글자막) 금별 04.18 52
800 언리얼4 린반 언리얼 이펙트 사소한 라이브(4.17일자) - 루멘/나이아가라 파티클라이트 외 금별 04.17 45
799 유니티 유니티 - Stylized 물속성 검기 VFX 제작과정(중국어/AI한글자막) 금별 04.16 90
798 언리얼4 언리얼 - 사인파 왜곡 머트리얼 예제 금별 04.16 80
797 3D 3DsMax - 임팩트 메쉬 제작 간단과정 금별 04.16 53
796 2D 애프터이펙트 - 2D 카툰스타일 불 제작과정 금별 04.16 56
795 2D 애프터이펙트 - 한국어_2D 카툰스타일 스파크/라이트닝 제작과정 금별 04.16 53
794 유니티 유니티 - Stylized 회오리 VFX 스킬 제작과정 금별 04.16 55

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand