The '''Texture3DForce''' component makes a 3 dimensional field that affects the movement of particles in a particle system based on the colors of a 3D texture. The colors map from RGB->XYZ in that order. The XYZ mapped value is used to affect the movement of particles.
This component is part of the [[Photon Dust]] system made by [[User:Frooxius|Frooxius]].
|Texture3D|{{RootFieldType|AssetRef`1|[[Type:Texture3D|Texture3D]]}}|TypeAdv0=true| The 3D texture to act as the force volume and to sample colors from in 3D.
|Mode|ForceMode|
|Mode|ForceMode| How to affect Particles with the force this component exerts on them.
|Strength|Float|
|Strength|Float| The strength of this component's forvce.
|Scale|Float3|
|Scale|Float3| How much to scale the 3D texture in physical space along it's axies.
|Offset|Float3|
|Offset|Float3| How much to shift the 3D texture in physical space on it's axies.
|ColorBias|Float|
|ColorBias|Float| The bias of colors being sampled from the 3D texture that are being mapped into XYZ values.
|ColorScale|Float|
|ColorScale|Float| How much to scale the color of pixels in the 3D texture, to change how the force works.
}}
== Sync Delegates ==
{{Table ComponentTriggers
}}
}}
== Usage ==
== Usage ==
Attach to a slot, add to the list of modules in a [[Component:ParticleSystem]], and adjust the values to make the desired effect from this component.
== Examples ==
== Examples ==
This allows particles to be able to take custom paths through a volume, collect in wavy shapes, or curve the path of particles going through it.
== See Also ==
== See Also ==
* [[Component:RadialForce]]
* [[Component:LinearForce]]
* [[Component:GravityForce]]
* [[Component:Texture3D Force]]
* [[Component:SimplexTurbulentForce]]
* [[Component:ParticleSystem]]
* [[Photon Dust]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Texture 3D Force]]
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Texture 3D Force]]
[[Category:Components{{#translation:}}|Texture 3D Force]]
[[Category:Components{{#translation:}}|Texture 3D Force]]
The Texture3DForce component makes a 3 dimensional field that affects the movement of particles in a particle system based on the colors of a 3D texture. The colors map from RGB->XYZ in that order. The XYZ mapped value is used to affect the movement of particles.