DepthTextureFocus_v2 Op

DepthTextureFocus

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


<p>To get results that align to the scene, make sure you use your scene&#39;s camera near- and farplane.</p>


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)

<p>trigger input</p>

Depth Texture (Object)

<p>depth texture input</p>

Focus Settings

Focus (Number)

<p>focus distance (in world space)</p>

Width (Number)

<p>width of the focus (in world space)</p>

Invert (Number:

<i>boolean</i>

)

<p>invert the focus</p>

Frustum

nearplane (Number)

<p>near plane of the focus frustum</p>

farplane (Number)

<p>far plane of the focus frustum</p>

OUTPUT PORTS


trigger (Trigger)

<p>trigger output</p>


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