Skip to main content Link Menu Expand (external link) Document Search Copy Copied
compositeFields

compositeFields

Combines two vector fields using color compositing.

Based on Photoshop blending modes, using glsl-blend.

The alpha channel is linearly blended between the two inputs using the Blend parameter.

Parameters

  • Enable:
  • Blend Mode:
    • Add:
    • Average:
    • Color Burn:
    • Color Dodge:
    • Darken:
    • Difference:
    • Exclusion:
    • Glow:
    • Hard Light:
    • Hard Mix:
    • Lighten:
    • Linear Burn:
    • Linear Dodge:
    • Linear Light:
    • Multiply:
    • Negation:
    • Normal:
    • Overlay:
    • Phoenix:
    • PinLight:
    • Reflect:
    • Screen:
    • SoftLight:
    • Subtract:
    • VividLight:
  • Blend:
  • Swap Inputs:
  • Blend Field:

Inputs

  • definition_in_1: (required)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • definition_in_2: (required)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • blendField: (required)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float