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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
1107 언리얼4 언리얼5/후디니 - 후디니에서 UE5로 ID정보 내보내기(한글자막) 금별 02.15 868
1106 언리얼4 언리얼5 - 로컬스페이스 3D 프로젝션[UV의 공간 텍스쳐 투영](한글자막) 금별 02.15 867
1105 3D 후디니 - 게임을 위한 VDB 압축 | Houdini용 ZibraVDB(알파) 금별 02.15 1045
1104 유니티 유니티 - 역동적인 디졸브활용 세계 변화 효과를 만드는 방법(한글자막) 금별 02.15 1062
1103 언리얼4 Volumetric Smoke in Unreal Engine 5 Material Tutorial ashif 02.14 839
1102 언리얼4 언리얼5+C4d - 나무 줄기 생성 효과 제작팁(한글자막) 금별 02.06 987
1101 언리얼4 언리얼5 - 패럴랙스 형태 카드 효과 제작과정(한글자막) 금별 02.04 974
1100 유니티 유니티 셰이더 그래프 - 오디오 비주얼 스케일 효과 간단제작과정(한글자막) 금별 02.03 1138
1099 언리얼4 언리얼 간단팁 - 웨이브 형태 움직임의 UV 제어방법 금별 02.03 1101
1098 언리얼4 언리얼5 - 사용자 정의 LED 텍스트 제작과정(한글자막) 금별 02.03 955
1097 언리얼4 언리얼 - 플루이드 닌자를 활용한 연기느낌 디졸브 제작 금별 02.03 1041
1096 언리얼4 언리얼5 - 스크래치 모듈이 작동하는 방식(한글자막) 금별 02.03 1026
1095 2D 어도비 애니메이트 - 번개 시퀀스 텍스쳐 제작과정 금별 02.03 1319
1094 언리얼4 언리얼 - 간단한 9분할 느낌의 글리치 효과 제작과정 금별 02.03 1152
1093 유니티 유니티 - 원형 파동 패턴과 애니메이션 폴라코디네이트(한글자막) 금별 02.03 1154
1092 유니티 유니티 셰이더 그래프 - 상호작용 조명 및 fake 볼류메트릭 연기 제작(한글자막) 금별 02.03 1131
1091 유니티 유니티 앰플리파이 셰이더 - 페이크 뎁스를 사용한 VFX_Parallax Shader 활용과정(한글자막) 금별 02.03 1096
1090 유니티 유니티 - 사용자 정의 라이팅 모델1,2 (한글자막) 금별 02.03 1022
1089 언리얼4 언리얼 린반라이브 - 팹 애셋 버전지원 5.5관련/이펙트,캐릭 소팅문제/시퀀서 포스트프로세스 효과 주기 등 금별 02.03 886
1088 언리얼4 언리얼5 - 나이아가라 스타 트레일링 효과 제작과정(한글자막) 금별 02.03 868
1087 언리얼4 언리얼5 - 나이아가라_트레일 컨버전스 효과 제작과정(한글자막) 금별 01.23 1038
1086 유니티 유니티 - 캐릭터 아웃라인 효과 제작예제(한글자막) 금별 01.23 1134

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand