Nodes/ComfyUI-TRELLIS2_Motion/Rendering Effects
ComfyUI Node

Rendering Effects

The post-pass that makes a render look finished

By styletransfer·Created 8 months ago·Updated 8 months ago· 6
Rendering Effects
  • images
  • outline_color
  • processed
bloom_intensity0.0
bloom_threshold0.80
bloom_radius20
motion_blur0.0
cel_shading_levels0
outline_width0.0
outline_threshold0.10
contrast1.00
saturation1.00
brightness1.00

A raw TRELLIS render is technically correct and frequently dull - flat, clinical, obviously "a 3D model." RenderingEffects is the node that drags it toward finished. It's a one-stop post-processing pass over any image batch: bloom, motion blur, cel-style quantization, edge outlines, and plain color grading, each independently toggleable and each off by default.

Where it slots in: right after MeshRenderer or MeshSequenceRenderer (or even after a video loader - it doesn't know or care where the images came from), and before your video combiner or save node. The pack's effects_showcase.json workflow is literally this node doing cel shading and post-processing on a render.

How it works

Every effect is opt-in: a parameter set to its "disabled" value (usually 0) skips that whole pass, so the node is a no-op passthrough until you ask for something. Internally it's a mix of Gaussian blur on bright areas (bloom), temporal blending across frames (motion blur), color quantization (cel), edge detection (outlines), and simple per-channel grading. It runs entirely in torch on the tensors you feed it - no model, no CUDA rasterization, fast even on big batches.

The knobs that matter

  • bloom_intensity - 0 to 2, off at 0. Your glow dial. bloom_threshold (default 0.8) decides what counts as "bright enough to glow," bloom_radius (5–100) how wide the glow spreads. The classic trick: crank this up on a dramatic-lit render for a neon halo effect.
  • cel_shading_levels - 1–8 color bands, 0 off. Fewer levels = more aggressive toon look. This is the "flat cel" finish in one number, and it pairs perfectly with the flat lighting preset upstream.
  • outline_width - 0–5, 0 off. Edge lines over the render, with outline_color (default black) and outline_threshold (edge sensitivity). Cel + outline together is the full anime look.
  • motion_blur - 0–1, only does anything when your batch has more than one frame. Blends across frames for that smooth 24fps feel - nice on angle-shift videos.
  • contrast / saturation / brightness - the boring-but-essential grading trio, each 0.5–2 with 1 as neutral. Almost always worth nudging saturation up a touch on PBR renders, which tend to come out desaturated.

Everything runs in order: bloom → motion blur → cel → outline → grading, so effects stack rather than fight.

Inputs and output

  • images - required, an [N, H, W, C] batch.
  • Output: processed, the same shape with your effects applied.

Installing

Same pack setup:

cd ComfyUI/custom_nodes
git clone https://github.com/styletransfer/ComfyUI-TRELLIS2_Motion
cd ComfyUI-TRELLIS2_Motion
python install.py --full
pip install git+https://github.com/microsoft/TRELLIS.git
pip install git+https://github.com/NVlabs/nvdiffrast.git

Restart ComfyUI; it's under TRELLIS2/Effects. Like OnionSkinning, this node alone only needs torch - the heavy installs are for the rest of the pack.

Common issues

  • Nothing changes. Every effect defaults to off. If you set only contrast to, say, 1.0 (which is neutral), nothing visibly moves - that's correct behavior. Nudge something clearly, like saturation to 1.5, to confirm it's wired.
  • Bloom makes everything white. The bloom_threshold is at 0.8 by default, so on a bright scene a huge fraction of pixels count as "bright." Raise the threshold toward 1.0 and lower bloom_intensity, then build up.
  • Outlines cover half the image. outline_threshold at 0.1 is sensitive; noisy renders (per-frame reconstruction artifacts are noisy) produce lots of edges. Raise the threshold to calm it down.

It's the last 5% of the image - but on renders, the last 5% is what makes the difference between "a screenshot from the pack's demo" and something you'd actually post.

CategoryTRELLIS2/Effects

Inputs (12)

NameTypeDefaultDescription
imagesIMAGERendered images [N, H, W, C]
bloom_intensityoptFLOAT0.00–2Bloom/glow intensity (0 = disabled)
bloom_thresholdoptFLOAT0.800–1Brightness threshold for bloom
bloom_radiusoptINT205–100Bloom blur radius
motion_bluroptFLOAT0.00–1Motion blur intensity (0 = disabled)
cel_shading_levelsoptINT00–8Color quantization levels (0 = disabled)
outline_widthoptFLOAT0.00–5Edge outline width (0 = disabled)
outline_coloroptCOLOR#000000Outline color
outline_thresholdoptFLOAT0.100.01–0.5Edge detection sensitivity
contrastoptFLOAT1.000.5–2Contrast adjustment
saturationoptFLOAT1.000–2Color saturation
brightnessoptFLOAT1.000.5–2Brightness adjustment

Outputs (1)

NameTypeDescription
processedIMAGE