Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Example showing how to use Processing's depth buffer as input for shaders

Notifications You must be signed in to change notification settings

kosowski/Processing_DepthBuffer

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Examples showing how to use Processing's PGraphics depth buffer as input for shaders, without CPU read back. This should be easier and faster than rendering the scene a second time with a depth drawing shader, and make certain post processing effects, like Depth of Field and SSAO, cheaper to compute.

A Depth of field example is included as well. Contributions are very wellcome.

DoF

If you find it useful for your professinal practice, please consider donating paypal

About

Example showing how to use Processing's depth buffer as input for shaders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.