compositeFields

compositeFields

combine
compositeFields
RayTK
v0.42

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

Name Description Regular Handling Read-Only Handling
Enable
Blend Mode Runtime Semi-Baked
  • 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 Runtime Baked
Swap Inputs Runtime Baked
Blend Field

Inputs

  • Field 1: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
  • Field 2: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables From Inputs: inputOp1
  • Blend Field: (required)
    • From Parameter: Blend Field
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: inputOp[1-2]