Open vorg opened 10 months ago
@dmnsgn any thoughts on this? My initial idea for pex-shaders was more of Lygia than removing every single line of GLSL from pex-renderer. Ideally this lib would have only pure functions and everything requiring uniforms or setup would be left in pex-renderer for faster iteration and prototyping. So pex-shaders
is more like glsl-utils
than pex-renderer-glsl
Philosophically, I agree. But:
On the plus side:
Standard vert/frag will have a big git diff so that would be a "rip-off the bandaid" point (ie. git history will be meh but it has to happen at some point
Because of change to GLSL 300?
So.. this approach is good on paper but causes many problems in practice for development of pex-renderer. What about moving to more of a library than framework approach with pex-shaders? So pure utils only and all the setup and wrapper code would move back to pex-renderer? Basically all chunks with main() in them... that would allow us develop new features in pex-renderer and move out to pex-shaders when stable.