Particles
The following shaders can be used to drive shader parameters from named
properties of the currently rendered particle. For example, individual colors
of the particles may be stored in a field called color. If a shader
mib_map_get_color using
the color field name as input parameter gets connected to the
material shader of the particle object then each particle will be rendered in
its specific color.
mib_map_get_color
color "mib_map_get_color" (
string "field_name")
- field_name
- specifies the name of the field of the particle data to look up.
The field name and data type have to match in order to return a successful value.
mib_map_get_integer
integer "mib_map_get_integer" (
string "field_name")
- field_name
- specifies the name of the field of the particle data to look up.
The field name and data type have to match in order to return a successful value.
mib_map_get_scalar
scalar "mib_map_get_scalar" (
string "field_name")
- field_name
- specifies the name of the field of the particle data to look up.
The field name and data type have to match in order to return a successful value.
mib_map_get_vector
vector "mib_map_get_vector" (
string "field_name")
- field_name
- specifies the name of the field of the particle data to look up.
The field name and data type have to match in order to return a successful value.
transform "mib_map_get_transform" (
string "field_name")
- field_name
- specifies the name of the field of the particle data to look up.
The field name and data type have to match in order to return a successful value.
Copyright © 1986, 2015
NVIDIA ARC GmbH. All rights reserved.