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

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Gl.TextureEffects.DepthTextureFocus_v2

draw a gradient mapped to depth buffer values

summary (oneliner)

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

doc

issues

youtube id

collections

related ops

Inputs

render (Trigger)

image (Object)

farplane (Number)

nearplane (Number)

Invert (boolean /Number)

Center (Number)

Width (Number)

Outputs

trigger (Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
DepthTextureFocus_v2 example:

Example patch for DepthTextureFocus.



video tutorial:

Credits


Examples using DepthTextureFocus

Public Patches using DepthTextureFocus