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



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

금별 0 8,168 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


번호 포토 분류 제목 글쓴이 날짜 조회
319 유니티 유니티 앰플리파이 쉐이더 - 화면 글리치효과 간단제작팁 사진동영상new 금별 2022.09.27 7138
318 3D 3ds맥스 - Helix Mesh 나선형 메시 만들기(한글강좌) 금별 2022.09.24 5662
317 유니티 유니티 - Screen space reflections(SSR) 파이프라인 설명 금별 2022.09.21 3942
316 유니티 유니티 VFX 그래프 - Sci-fi 스폰 이펙트 튜토리얼 금별 2022.09.21 4446
315 유니티 유니티 앰플리파이 쉐이더 - 카툰느낌 불 소재 제작방법2(중국어) 댓글+1 금별 2022.09.19 4659
314 2D 이펙트 이미터별 요소 영어용어정리 댓글+1 금별 2022.09.15 4934
313 유니티 유니티 - 트랜스폼 형태 포털 제작방법 금별 2022.09.14 3048
312 2D 섭스턴스 디자인/언리얼 - 바닥 크랙 데칼 제작방법 금별 2022.09.14 5193
311 2D 포토샵 - 비정형 라인 생성방법 금별 2022.09.14 5348
310 2D 포토샵 - 간단한 플레어 제작방법 금별 2022.09.14 4178
309 유니티 유니티 앰플리파이 쉐이더 - 얼음 소재 제작방법(중국어) 댓글+1 금별 2022.09.08 4890
308 유니티 유니티 앰플리파이 쉐이더 - 카툰느낌 불 소재 제작방법(중국어) 금별 2022.09.08 4588
307 2D 포토샵 - 다양한 패턴의 간단 텍스쳐 제작 방법 금별 2022.09.04 3677
306 2D [간단팁]라이트닝 효과 제작원리 금별 2022.09.03 3739
305 2D 애프터 이펙트 - 엘리먼트 3D 카툰풍 빔 이펙트 제작방법(중국어) 금별 2022.08.31 5031
304 언리얼4 언리얼 - 나이아가라에 블루프린트로 트리거 셋팅 퀵팁 금별 2022.08.29 4492
303 유니티 유니티 앰플리파이 쉐이더 - 눈알 형태의 우주공간 생성 제작방법 금별 2022.08.29 3535
302 유니티 유니티 앰플리파이 쉐이더 - 나비 효과 구현하기 금별 2022.08.25 5961
301 유니티 유니티 - 피어나는 꽃봉오리 효과 제작과정영상 금별 2022.08.25 4604
300 유니티 유니티 - 자라나는 나무 효과 제작과정 금별 2022.08.25 4585
299 유니티 유니티 쉐이더 그래프 - 3D 스캔 이펙트 제작방법 금별 2022.08.24 4175
298 유니티 유니티 쉐이더그래프 - 오브텍트 반응형 폭포제작 금별 2022.08.24 3564

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand