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



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

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


번호 포토 분류 제목 글쓴이 날짜 조회
1164 언리얼4 Unleash the Magic: Crafting Material Spells in UE5 Niagara ashif 05.10 32
1163 언리얼4 Create Stunning Ghost Trails in Unreal Engine 5 with Niagara ashif 05.09 44
1162 언리얼4 Create a Sci-Fi Forcefield Shield in Unreal Engine 5: A Complete Guide ashif 05.08 67
1161 언리얼4 Ground Break Effect Trailer in UE5: Create Stunning Shockwaves and Light Rays! ashif 05.04 125
1160 언리얼4 The Infernal Book in UE5 | Trailer ashif 05.03 123
1159 언리얼4 Create Stunning Lightning Orbs in Unreal Engine Niagara: Step-by-Step Tutorial ashif 05.02 129
1158 언리얼4 언리얼5 - UV 조작으로 만드는 동적 그래픽(더빙) 금별 04.29 222
1157 언리얼4 언리얼 - 페이지 넘긴 효과 머트리얼 구현과정 금별 04.29 162
1156 언리얼4 Create Spell in UE5 Niagara Tutorial ashif 04.25 162
1155 언리얼4 언리얼 - 간단한 Procedural Dissolve제작노드 금별 04.25 203
1154 언리얼4 에픽 라이브 - 스타일라이즈드 번개 이펙트 만들기(린반) 금별 04.25 174
1153 3D 블랜더 - 머트리얼만으로 촛불효과 제작노드 금별 04.25 141
1152 언리얼4 언리얼 - 머티리얼/포스트 프로세스 피쉬아이 형태 노드구성 금별 04.25 159
1151 언리얼4 Rays Material MAGIC on Skeletal Mesh in Unreal Engine 5 ashif 04.24 139
1150 언리얼4 언리얼/Houdini로 구현하는 Shatter 효과: 3D 모델링과 애니메이션으로 완성하는 언리얼 워크플로우(자막) 금별 04.22 170
1149 언리얼4 Beginner's Guide to Creating a Magical Orb in Unreal Engine with Niagara ashif 04.17 144
1148 언리얼4 Tutorial - How to create basic VFX materials in Unreal Engine ashif 04.16 167
1147 언리얼4 Fluid Color Change on Collision | Unreal Engine 5 Niagara Tutorial ashif 04.14 137
1146 언리얼4 Toxic Skull Poison FX in Unreal Engine 5 Niagara Tutorial ashif 04.09 166
1145 언리얼4 Tron Trail in Unreal Engine Niagara Tutorial ashif 04.08 206
1144 언리얼4 Spawn FX in Unreal Engine 5 Niagara Tutorial ashif 04.07 153
1143 언리얼4 언리얼5 - 머트리얼 디자이너를 활용한 간단한 잔물결 제작과정(더빙) 금별 04.03 286

 

Banner
 
Facebook Twitter GooglePlus KakaoStory NaverBand