compositeFields

compositeFields

combine
compositeFields
RayTK
v0.36

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:
    • Atop:
    • Average:
    • Color Burn:
    • Color Dodge:
    • Darken:
    • Difference:
    • Exclusion:
    • Glow:
    • Hard Light:
    • Hard Mix:
    • Lighten:
    • Linear Burn:
    • Linear Dodge:
    • Linear Light:
    • Multiply:
    • Negation:
    • Normal:
    • Over:
    • Overlay:
    • Phoenix:
    • PinLight:
    • Reflect:
    • Screen:
    • SoftLight:
    • Subtract:
    • Under:
    • VividLight:
    • Xor:
  • Blend:
  • Swap Inputs:
  • Blend Field:

Inputs

  • Field 1: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • Field 2: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • Blend Field: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float