I have a task of creating a software to work with images in the same way as Photoshop layers, with the accent on implementing the blend modes. I pick OpenGL for this (namely, JME) because I also need to apply shaders to each layer and later will need to do some 3D graphics too. The whole scene is going to be 2D in orthographic projection and the layers are gonna be just basic quads.
Is this possible to do with JME? If so, what would be the best approach - do I make each layer an individual quad with an individual shader and blend mode, or is it more real to make the entire composition and mixing of all layers and their textures in a single shader? There can be many textures, like 100 of them, so idk, if a single shader could handle it…
Also, I find that OpenGL has these blending modes ( http://www.slideshare.net/Mark_Kilgard/blend-modes-for-opengl ), but they are not directly accessible from JME, so idk how to imitate them…
Thanks