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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
753 언리얼4 언리얼 - 머트리얼과 나이아가라를 사용하여 오브젝트 크기 조정(한글자막) 금별 03.05 126
752 언리얼4 언리얼 - 차원 포탈 생성 VFX 제작과정 금별 03.04 264
751 언리얼4 언리얼 - Sobel 외곽선 탐지 포스트 프로세스 제작과정(한글자막) 금별 03.04 165
750 언리얼4 언리얼 - VFX 아티스트로서 더 빠르게 작업하기 위한 단축기 사용법(한글자막) 금별 03.04 152
749 유니티 유니티 셰이더 그래프 - 가까운 거리에 따른 오퍼시티 변화 셰이더효과 제작과정(한글자막) 금별 02.28 223
748 언리얼4 언리얼5 - Stylized 불효과 제작방법(한글자막) 금별 02.28 209
747 언리얼4 언리얼 머트리얼 - 쇼크웨이브 형태의 디스토션 텍스쳐변화 효과 금별 02.27 188
746 언리얼4 Stylized 전기빔효과 간단제작팁 금별 02.27 181
745 유니티 유니티 앰플리파이 셰이더 - 2D 형태 Sci-fi 파티클 테이링 효과 예제 및 제작노드 금별 02.26 194
744 3D 3dsMax - 벌집모양의 쉴드형태 제작방법(AI한글자막) 금별 02.26 249
743 유니티 유니티 - 카툰풍 핵폭발 효과 제작과정(AI한글자막) 금별 02.26 471
742 언리얼4 언리얼5 - 8 Elements Pack에 들어가는 물효과 재현 과정(한글자막) 금별 02.23 205
741 3D 노말맵의 모든것(안콜3D) 금별 02.23 153
740 언리얼4 언리얼 - Frosted Glass 재질 제작방법 금별 02.21 177
739 언리얼4 언리얼 - 게임 이펙트 무엇이든 물어보세요(린반특강 2.20 오후7시30분) 금별 02.20 158
738 언리얼4 언리얼5 - 에너지 플래시 폭발 제작과정(한글자막) 금별 02.20 232
737 유니티 유니티 셰이더 그래프 - 간단한 지형스캔 효과 제작방법(한글자막) 금별 02.20 187
736 언리얼4 언리얼 - 카메라 거리에 따른 머트리얼 효과 예제(한글자막) 금별 02.19 222
735 언리얼4 언리얼 - 게임 이펙트 포트폴리오 제작 주의사항 및 실시간피드백,소통 라이브 금별 02.15 199
734 유니티 유니티 앰플라파이 셰이더 - 입체적 카드 효과 제작과정 금별 02.14 496
733 언리얼4 플랜 메시를 활용한 패닝이펙트 예제 금별 02.12 272
732 유니티 유니티 셰이더 그래프 - 2D 카툰풍 구체아우라 확산효과 제작과정 금별 02.07 452

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand