DepthTextureFocus_v2 Op

DepthTextureFocus

draws a gradient from white to black back to white over distance of the scene


To get results that align to the scene, make sure you use your scene's camera near- and farplane.


Full Name
  • Ops.Gl.ImageCompose.DepthTextureFocus_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch DepthTextureFocus_v2 example

Example patch for DepthTextureFocus.
Open In Editor

INPUT PORTS


render (Trigger)

trigger input

Depth Texture (Object)

depth texture input

Focus Settings

Focus (Number)

focus distance (in world space)

Width (Number)

width of the focus (in world space)

Invert (Number:boolean )

invert the focus

Frustum

nearplane (Number)

near plane of the focus frustum

farplane (Number)

far plane of the focus frustum

OUTPUT PORTS


trigger (Trigger)

trigger output


Patches using DepthTextureFocus_v2

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarsimod - 2020-11-04 15:35
Ops.User.simod.DepthTextureFocus_v2 renamed to Ops.Gl.TextureEffects.DepthTextureFocus_v2user avatarsimod - 2020-11-04 15:41
renameOps.Gl.TextureEffects.DepthTextureFocus_v2 renamed to Ops.Gl.ImageCompose.DepthTextureFocus_v2user avatarpandur - 2023-12-06 10:21