markusfisch / ShaderEditor

Android app to create GLSL shaders and use them as live wallpaper
https://play.google.com/store/apps/details?id=de.markusfisch.android.shadereditor
MIT License
914 stars 136 forks source link

multipass ? #28

Open pcornier opened 8 years ago

pcornier commented 8 years ago

Hi Markus, do you plan to implement multipass rendering ? I don't know how difficult it would be to implement but it would allow a lot of new cool things like creating z-buffer for SSAO.

It has been implemented on shadertoy.com:

03/01/2016 - Release 0.8

  • Multipass rendering is here! Intermediate render targets are 16 bit (which means no hacky pack/unpack operations) Hello proper Depth of Field, SSAO, Motion Blur, HDR, gamma control, incremental monte carlo rendering, games...
markusfisch commented 8 years ago

Definitely yes!

Actually, I've already looked it up and since I would like to make the app as compatible as possible with Shader Toy, multipass rendering will come.

iY0Yi commented 6 years ago

Hi Markus. Thank you for the useful app! And I am looking forward this feature yet 👍

pcornier commented 6 years ago

Have you made any progress? I'm really looking forward to it as well. In order to avoid big changes in the UI for buffer edition, you could implement a new type of uniform that would point to another shader output... but I don't know if it's possible or not?

markusfisch commented 6 years ago

Sorry, I was too busy to get to it, yet.

About the idea to implement it as a uniform, I don't think that would work too well. And since the UI will have to change anyway for some other things (like editing the vertex shader and so on), there is no reason to avoid UI changes really.