ComfyUI > Nodes > CRT-Nodes > Lens Distort FX (CRT)

ComfyUI Node: Lens Distort FX (CRT)

Class Name

LensDistortFX

Category
CRT/FX
Author
CRT (Account age: 1707days)
Extension
CRT-Nodes
Latest Updated
2026-03-16
Github Stars
0.1K

How to Install CRT-Nodes

Install this extension via the ComfyUI Manager by searching for CRT-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter CRT-Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Lens Distort FX (CRT) Description

Simulates lens distortion effects on images, offering control over radial, anamorphic, and chromatic adjustments.

Lens Distort FX (CRT):

The LensDistortFX node is designed to simulate lens distortion effects on images, providing a creative tool for AI artists to enhance their visual projects. This node allows you to apply various types of distortions that mimic the imperfections and unique characteristics of different camera lenses. By adjusting parameters such as radial distortion, anamorphic squeeze, and chromatic aberration, you can achieve a wide range of effects, from subtle warping to dramatic fisheye looks. The node's primary goal is to offer flexibility and control over the distortion process, enabling you to experiment with and fine-tune the visual output to match your artistic vision. Whether you're aiming to recreate the look of vintage lenses or add a surreal twist to your images, LensDistortFX provides the tools to do so with precision and ease.

Lens Distort FX (CRT) Input Parameters:

image

This parameter represents the input image that you want to apply the lens distortion effect to. It serves as the base upon which all other distortions will be applied.

radial_distortion_1

This parameter controls the first level of radial distortion, which affects the curvature of the image. The value ranges from -0.2 to 0.2, with a default of 0.0. Adjusting this slider will cause the image to warp inward or outward, simulating the effect of a lens with spherical aberration.

radial_distortion_2

Similar to radial_distortion_1, this parameter adds a second layer of radial distortion. It also ranges from -0.2 to 0.2, with a default of 0.0. This allows for more complex distortion patterns by combining multiple levels of curvature adjustments.

radial_distortion_3

This parameter introduces a third level of radial distortion, further enhancing the complexity of the distortion effect. It shares the same range and default value as the previous radial distortion parameters.

radial_distortion_4

The fourth level of radial distortion provides additional control over the image's curvature. Like the other radial distortion parameters, it ranges from -0.2 to 0.2, with a default of 0.0.

anamorphic_squeeze

This parameter simulates the effect of an anamorphic lens, which compresses the image along one axis. The value ranges from 1.0 to 2.0, with a default of 1.0. Increasing this value will create a stretched or squeezed appearance, often used in cinematic effects.

chromatic_radius

Chromatic_radius controls the extent of chromatic aberration, where different colors are refracted by different amounts, creating a rainbow-like fringe around edges. The value ranges from -0.2 to 0.2, with a default of -0.2. Adjusting this parameter can add a colorful halo effect to the image.

decentering_x

This parameter adjusts the decentering distortion along the x-axis, which can create an off-center or skewed appearance. The value ranges from -0.1 to 0.1, with a default of 0.0. It allows for subtle shifts in the image's perspective.

Lens Distort FX (CRT) Output Parameters:

IMAGE

The output of the LensDistortFX node is an image that has been transformed according to the specified distortion parameters. This output image reflects the applied lens effects, showcasing the altered perspective, curvature, and color shifts introduced by the node. It serves as the final visual product that can be used in further artistic compositions or as a standalone piece.

Lens Distort FX (CRT) Usage Tips:

  • Experiment with small adjustments to the radial distortion parameters to achieve subtle lens effects without overwhelming the image.
  • Use the anamorphic_squeeze parameter to create cinematic looks, especially when aiming for a widescreen or stretched appearance.
  • Combine chromatic_radius with radial distortions to add a vintage or dreamy quality to your images, enhancing the overall aesthetic.

Lens Distort FX (CRT) Common Errors and Solutions:

Image tensor size mismatch

  • Explanation: This error occurs when the input image dimensions do not match the expected size for processing.
  • Solution: Ensure that the input image is correctly formatted and matches the expected dimensions for the node.

Invalid parameter range

  • Explanation: This error arises when a parameter value is set outside its allowable range.
  • Solution: Double-check the parameter values to ensure they fall within the specified minimum and maximum limits. Adjust the sliders accordingly to correct the values.

Lens Distort FX (CRT) Related Nodes

Go back to the extension to check out more related nodes.
CRT-Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Lens Distort FX (CRT)