MaurycyLiebner / enve

Flexible, user expandable 2D animation software for Linux and Windows.
https://MaurycyLiebner.github.io/
GNU General Public License v3.0
1.08k stars 79 forks source link

Making Custom Shader Effects #318

Closed freewarecamp closed 1 year ago

freewarecamp commented 1 year ago

Can somebody tell me what I have to learn to make custom shader effects? I really want to make some new shader effects for enve but I don't have a single clue how to make them. What I know is i need to make a .gre file & a .frag file with some sort of coding. Please Tell me what coding i need to learn & how to make them if you know. Link some tutorials if you can 🙏

Btw is the whole enve community is dead?😐

BobSynfig commented 1 year ago

Hi, there are plenty of resources about this topic:

In enve's docs: https://maurycyliebner.github.io/docs/shaderEffects.html

On the internet: https://www.khronos.org/opengl/wiki/Fragment_Shader https://learnopengl.com/Getting-started/Shaders https://www.lighthouse3d.com/tutorials/glsl-tutorial/fragment-shader/

You could also been interested in some code of enve: https://github.com/MaurycyLiebner/enve/tree/master/src/core/shaders https://github.com/MaurycyLiebner/enve/tree/master/src/core/ShaderEffects