+6
Ülevaatamisel

Support for Particle Custom Vertex Streams (Unity 5.5 +)

Keith 8 aastat tagasi uuendaja deafkid 8 aastat tagasi 5

Unity 5.5 came with a very needed feature for particles - the ability to pass custom user data on a per particle basis through vertex streams into the shader. This allows other modifications to the shader in addition to the standard float4 provided by RGBA.

Is there any way to access these controls through shader forge? If not, can we please add this control?

If a parrallel in Unreal is useful - they're called Dynamic Parameters.



+3
Ülevaatamisel

I'll have a look at this (among other things) this weekend

+5

Any update on this feature? I'm itching to play with this!

Oh how is it going with this one? Really could use those streams in shaderforge. I want to get particle mesh aligned with velocity, and there are 3drotation and velocity vector stream I could use for that and then feed back into vertex offset

Turned out to be a bit trickier than I anticipated, and got delayed for various reasons! I can look into this again for the next update.

Oh thanks, no worries, thanks to two guys in the rtvfx forum I got to hook up those vertex streams via additional texture coordinates (as it is intended). And thanks to some math help of a friend, got this shader going with shaderforge and unity 5.6 https://realtimevfx.com/t/unity-5-5-5-6-align-mesh-particles-with-velocity-using-vertex-stream/2328