Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create video effects for Olive video editor #95

Open
ghost opened this issue Aug 5, 2019 · 1 comment
Open

Create video effects for Olive video editor #95

ghost opened this issue Aug 5, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 5, 2019

Actual behavior

Olive video editor support adding custom video effects based on GLSL shaders

Here are examples:

Expected behavior

Create video effects based on GLSL shaders from your repo for Olive 0.1.0

GLSL video effect for Olive consist of few files:

  1. <effect_name>.frag - GLSL shader file of video effect;
  2. <effect_name>.xml - video effect configuration file.

For adding to Olive effects files structure should look like:

../<Olive_effects_folder>/
    ├ /COMMON/
    |   ├ common.frag
    |   └ common.vert
    └ /<effect_name>/
        ├ <effect_name>.frag
        └ <effect_name>.xml

It's possible group effects in some sub-folder; then structure would look like:

../<Olive_effects_folder>/
    └ /<effects_group>/
        ├ /COMMON/
        |   ├ common.frag
        |   └ common.vert
        ├ /<effect1_name>/
        |   ├ <effect1_name>.frag
        |   └ <effect1_name>.xml
        └ /<effect2_name>/
            ├ <effect2_name>.frag
            └ <effect2_name>.xml

Contents of /COMMON/ is default for all custom GLSL effects:

@hizzlekizzle
Copy link
Collaborator

I won't personally convert any, but just peeking at some of their samples, it looks like they'd be able to use many of them without extensive changes.

However, I didn't see any examples that referenced arbitrary previous pass outputs or lookup textures, or any that utilize a framecounter, and those are all pretty important features that a lot of our shaders depend on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant