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

ComfyUI Node: Lens FX (CRT)

Class Name

LensFX

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 FX (CRT) Description

Simulates lens effects for realistic distortions and chromatic aberrations in images.

Lens FX (CRT):

LensFX is a powerful node designed to simulate various lens effects that can enhance the visual appeal of your images. This node is particularly useful for creating realistic distortions and chromatic aberrations that mimic the imperfections found in real-world camera lenses. By applying these effects, you can add depth and character to your digital artwork, making it more engaging and visually striking. The main goal of LensFX is to provide artists with the tools to manipulate images in a way that replicates the unique qualities of different lens types, allowing for creative expression and experimentation.

Lens FX (CRT) Input Parameters:

image

This parameter represents the input image that you want to apply the lens effects to. It serves as the base upon which all other effects will be applied, and its quality and resolution can impact the final output.

radial_distortion_1

This parameter controls the first level of radial distortion applied to the image. Radial distortion affects the curvature of the image, simulating the effect of a lens that bends light unevenly. The value ranges from -0.2 to 0.2, with a default of 0.0, allowing you to adjust the intensity of the distortion using a slider.

radial_distortion_2

Similar to radial_distortion_1, this parameter provides an additional layer of radial distortion. It allows for more complex distortion patterns by combining multiple distortion effects. The value ranges from -0.2 to 0.2, with a default of 0.0.

radial_distortion_3

This parameter adds a third layer of radial distortion, further enhancing the complexity and realism of the lens effect. The value ranges from -0.2 to 0.2, with a default of 0.0.

radial_distortion_4

The fourth layer of radial distortion, this parameter allows for even more intricate distortion effects. The value 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 horizontally. It ranges from 1.0 to 2.0, with a default of 1.0, allowing you to adjust the degree of horizontal compression.

chromatic_radius

This parameter controls the radius of chromatic aberration, which is the dispersion of colors at the edges of the image. It ranges from -0.2 to 0.2, with a default of -0.2, enabling you to create colorful fringes that mimic real lens imperfections.

decentering_x

This parameter adjusts the decentering effect along the x-axis, simulating a lens that is not perfectly aligned. It ranges from -0.1 to 0.1, with a default of 0.0, allowing for subtle shifts in the image's perspective.

Lens FX (CRT) Output Parameters:

IMAGE

The output of the LensFX node is an image that has been transformed by the applied lens effects. This output image reflects the combined impact of all input parameters, showcasing the distortions, aberrations, and other lens characteristics that have been simulated. The resulting image can be used as a final piece or further processed in your creative workflow.

Lens FX (CRT) Usage Tips:

  • Experiment with different combinations of radial distortion parameters to achieve unique and complex distortion effects that can add depth to your images.
  • Use the anamorphic_squeeze parameter to create cinematic effects, especially when aiming for a widescreen look or when simulating footage shot with anamorphic lenses.
  • Adjust the chromatic_radius parameter to introduce subtle color fringes that can enhance the realism of your image, particularly in high-contrast areas.

Lens FX (CRT) Common Errors and Solutions:

Image not displaying correctly

  • Explanation: This error may occur if the input image is not properly formatted or if there is an issue with the image file itself.
  • Solution: Ensure that the input image is in a supported format and that the file is not corrupted. Try reloading the image or using a different file to see if the issue persists.

Distortion effects not visible

  • Explanation: If the distortion effects are not visible, it could be due to the parameters being set to their default values, which may not produce noticeable changes.
  • Solution: Increase the values of the radial distortion parameters and the chromatic_radius to enhance the visibility of the effects. Adjust the sliders to see real-time changes and find the desired effect.

Lens 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 FX (CRT)