hype / HYPE_Processing

HYPE for Processing
BSD 3-Clause "New" or "Revised" License
926 stars 149 forks source link

Using HYPE with multiple PGraphics #144

Open mrd0ll4r opened 7 years ago

mrd0ll4r commented 7 years ago

Hey guys, have been using HYPE for a while now and really like it so far.

For my latest project, I want to have multiple PGraphics in parallel and explore blending between them using custom shaders. I can do this in plain Processing, but I don't know how to do it using Hype and Processing.

Let's for simplicity just say I have two PGraphics objects, both using OpenGL and 3D if it matters here, and want to display two completely different things on them using Hype.

Sounds related to #65

DonoG commented 7 years ago

Maybe have a look at HCanvas - it's essentially a custom PGraphics, and you can apply shaders/filters. But probably depends on exactly effect you are trying to achieve and how your custom shaders are setup.