addFields
Adds the values of multiple fields.
If any of the fields is a vector field, all fields will be treated as vector fields, with float values copied to each part of the vector.
Inputs
-
definition_in_1
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
definition_in_2
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
definition_in_3
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
definition_in_4
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
definition_in_5
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
definition_in_6
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
definition_in_7
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
definition_in_8
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types: