Nodes/Photography Nodes/Physically Accurate Lens Dirt
ComfyUI Node

Physically Accurate Lens Dirt

A node for adding "physically accurate" lens dirt to an image intensity = intensity of the dirt texture to blend on top of the origional image threshold = Where the dirt will show up, like the max white point dof_kernel_size = blur of the dirt texture, if you are using a reshade texture you may not need to blur dirt_scale = scale of the dirt texture, if the spots art to small scale it up, if using a reshade texture set to 1

By TrophiHunter·Created about a year ago·Updated about a year ago· 4
Physically Accurate Lens Dirt
  • image
  • dirt_texture
  • bokeh_texture
  • IMAGE
intensity0.500
threshold0.800
dof_kernel_size8
dirt_scale2
CategoryTrophiHunter/Photography

Inputs (7)

NameTypeDefaultDescription
imageIMAGE
dirt_textureIMAGE
bokeh_textureIMAGE
intensityFLOAT0.5000–4
thresholdFLOAT0.8000–1
dof_kernel_sizeINT81–256
dirt_scaleINT21–16

Outputs (1)

NameTypeDescription
IMAGEIMAGE