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

DepthTextureFocus_v2 Op

Ops.Gl.TextureEffects.DepthTextureFocus_v2


DepthTextureFocus

Op author: simod

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


summary (oneliner)

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



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

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 Documentationcancel save

DepthTextureFocus_v2 example

Example patch for DepthTextureFocus.

Open Example In Editor


Patches using DepthTextureFocus_v2

Changelog


created op
2020-11-04 - simod

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