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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
161 언리얼4 언리얼4 머터리얼 에디터 아주 짧은팁(열려있는 탭사이 이동) 금별 2020.12.12 2586
160 3D 3DS 맥스 팁 - UV로 부터 버택스 컬러 그라디언트 활용법 금별 2020.11.17 3046
159 언리얼4 파이어볼 UV 흐름 예제 금별 2020.11.07 3134
158 2D 포토샵/섭스턴스 - 트레일 텍스쳐 제작 PART1 금별 2020.11.07 3560
157 언리얼4 언리얼4 이펙트 팁 - 액체형 트레일 제작 노드영상 금별 2020.11.03 4480
156 3D UV관련 몇가지 팁 금별 2020.03.31 4362
155 언리얼4 언리얼4 이펙트 팁 - 트레일 제작 노드영상 댓글+1 금별 2020.10.31 4085
154 언리얼4 언리얼4 컴파일링 벤치마크 8코어 vs 16코어 CPU[Unreal Engine 4.25.4] 금별 2020.10.27 2635
153 유니티 유니티 쉐이더 그래프 - Cuphead Fire 금별 2020.10.20 2721
152 유니티 유니티 - Sea Storm Study 금별 2020.10.14 2232
151 유니티 유니티 - 발로란트형 쉴드 제작 VFX 브레이크다운 금별 2020.08.26 4100
150 유니티 유니티 VFX그래프 - 불타는 종이 이펙트 만들기 금별 2020.08.26 3860
149 언리얼4 언리얼4 - 쉐이더에서 노멀 계산 튜토리얼 댓글+1 금별 2020.08.26 2902
148 유니티 유니티 쉐이더그래프 - 노이즈 관련 이미지 팁 금별 2020.08.06 4373
147 유니티 유니티 - 매직 카드제작 트릭팁 금별 2020.08.02 3261
146 언리얼4 언리얼4 - 머터리얼에서 양면 렌더링 방법 금별 2020.07.30 4821
145 언리얼4 언리얼4 - Vertex(정점) Offset 흡수 효과 금별 2020.07.30 5182
144 유니티 유니티 앰플리파이 쉐이더 이펙트 - 물속성+불속성 토네이토 금별 2020.07.30 2933
143 언리얼4 언리얼4 나이아가라 - 트레일관련 미니팁 금별 2020.05.30 2903
142 유니티 유니티 - 기어즈5 Hammer of Dawn 이펙트 만들기 댓글+1 금별 2020.05.16 2823
141 유니티 포토샵으로 디졸브 쉐이더를 사용해 2D 툰이펙트 제작팁 댓글+2 금별 2020.05.16 5382
140 언리얼4 언리얼4 이펙트 튜토리얼 - 애펙을 사용한 트랜지션 효과 만들기 금별 2020.04.01 4164

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand