You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The readme of ShaderFlow contains a modified DepthFlow shader with a Music Visualizer glued on top and it looks amazing.
The DepthFlow shader can be refactored into a standalone file defining a struct of parameters, and a single function to do the projections (might need to accept a Camera element as well), returning the final coordinate and other utils of the algorithm.
This would allow creating awesome derivative work out of it, instead of doing everything inside its own void main() function on GLSL !
The text was updated successfully, but these errors were encountered:
I've pulled off a shader rewrite into a DepthFlow struct so this is sorted out, the idea now is to either create a DepthModule inside shaderflow, but that would need an overhaul on the metaprogramming, at least splitting the current shader code before the main makes it usable outside..
The readme of ShaderFlow contains a modified DepthFlow shader with a Music Visualizer glued on top and it looks amazing.
The DepthFlow shader can be refactored into a standalone file defining a struct of parameters, and a single function to do the projections (might need to accept a Camera element as well), returning the final coordinate and other utils of the algorithm.
This would allow creating awesome derivative work out of it, instead of doing everything inside its own
void main()
function on GLSL !The text was updated successfully, but these errors were encountered: