Nodes/ComfyUI_KubaNodes/kubakub projector blend
ComfyUI Node

kubakub projector blend

Several projectors on one building: where their pictures overlap on the model, each one fades out towards the border of its own picture, so the light adds up evenly. Connect the scene of one kubakub scene render per projector (same file, each with its own kubakub projector). Gives one blend mask per projector, in that projector's picture size: multiply your frames with it, or load it as the blend mask in the media server.

By kubakubkub·Created 15 days ago·Updated 3 days ago· 9
kubakub projector blend
  • scene_1
  • scene_2
  • scene_3
  • scene_4
  • mask_1
  • mask_2
  • mask_3
  • mask_4
  • preview
  • report
◄ramp0.100►
◄gamma2.20►
Categorykubakub/3d/scene

Inputs (6)

NameTypeDefaultDescription
scene_1KUBA_SCENEProjector 1: the scene of its kubakub scene render.
scene_2KUBA_SCENEProjector 2.
rampFLOAT0.1000.005–0.5How far from its border a picture reaches full strength, as a share of its short side. Larger = softer blends (the overlap must be at least this wide).
gammaFLOAT2.201–3The projectors' gamma: the masks are made so that the light adds up, not the pixel values. 1 = masks in linear light.
scene_3optKUBA_SCENEProjector 3.
scene_4optKUBA_SCENEProjector 4.

Outputs (6)

NameTypeDescription
mask_1MASKBlend mask of projector 1 (its picture size): 1 = full, less in overlaps.
mask_2MASKBlend mask of projector 2 (its picture size).
mask_3MASKBlend mask of projector 3. Nothing connected to scene_3: all white (1) at the size of projector 1, so multiplying changes nothing.
mask_4MASKBlend mask of projector 4. Nothing connected to scene_4: all white (1) at the size of projector 1.
previewIMAGEOne picture per projector, at the size of the first: the clay with what it lights alone and what it shares (orange).
reportSTRINGPer projector: how much of the model it lights alone and shares.