beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

DepthTextureFocus_v2 Op



DepthTextureFocus

Op author: simod

Test Patches: 1 Test

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.



Inputs

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 (boolean /Number)

invert the focus

Frustum

nearplane (Number)

near plane of the focus frustum

farplane (Number)

far plane of the focus frustum

Outputs

trigger (Trigger)

trigger output


Caught a mistake or want to contribute to the documentation?

Edit Documentation 

DepthTextureFocus_v2 example

Example patch for DepthTextureFocus.


Patches using DepthTextureFocus_v2

  • Examples (1)
  • Public
  • My Patches

Changelog


created op
2020-11-04 - simod
Ops.User.simod.DepthTextureFocus_v2 renamed to Ops.Gl.TextureEffects.DepthTextureFocus_v2
2020-11-04 - simod