This repo contains a growing set of OBS shaders developed by FiniteSingularity on and for his stream (https://twitch.tv/finitesingularity).
The shaders are broken up by directory indicating the plugin required to use them. Currently, the shaders are only supported in StreamFX, however future plans are to also support them in OBS Shader Filter.
NOTE- Current version has only been tested with StreamFX v0.10.1 here, and may not work with the v0.11 beta.
- Install StreamFX following the instructions at the link above.
- Open the "Filters" menu for the source/scene you would like to apply the shader to.
- Click the + and add a new Shader filter.
- Click "Browse" in the shader filter panel, and navigate to the
streamfx
directory at the root level of this project. Select the.effect
file you want to use. - Enjoy all of the glorious shader goodness!
- Note- the entire repository directory is needed to use these shaders due to include files. Please do not move an effect file outside of this directory structure.
This shader creates a customizable hexagon "frosted block" pattern that can sweep over a source, revealing or obsucring it. Combined with the Move Value filter, this can create a very nice animated hide/reveal transition. The adjustable parameters are:
- Hexagon Orientation- Can take the value of
Pointy
orFlat
. This indicates if the top surface of the repeating hexagons are a corner point, or if they are rotated to have a flat top. - Hexagon Scale- the number of half-hexagons that tile across the screen for the
Pointy
orientation (so a value of 10 will yield 5 full hexagons). Note, forFlat
the scaling is slightly different, and so you will get slightly more than a 2-to-1 count of hexagons across the frame. - Make non-hexagon pixels transparent- When enabled, this will set the alpha of any pixels outside of the hexagons and transition zone to zero, allowing sources behind to show through. This allows the user reveal another source behind the hexagons, or to apply filters underneath the hexagon layer (e.g.- a blur or LUT) that only affect the hexagons themsleves.
- Reveal Distance- a value between
0.0
and100.0
that specifies how far across the frame the transition wipe currently is. This is the value that would be animated with theMove Value
filter to animate a wipe on/wipe off transition. - Transition Zone Size- Width in pixels of the tranzition zone that hexagons appear in, as the reveal distance is changed. Pixels grow from a point in this zone to full-size as the reveal distance moves.
- Transition Angle- An angle between
-180.0
and180.0
degrees that determines the direction of the transition/reveal. An angle of0.0
will wipe from left to right,90.0
will move from bottom to top, etc. - Transition Background Color- RGBA values for the background of the transition zone. Set the alpha value to zero for no background.
This shader creates a customizable Q-Bert 3-D step pattern that can sweep over a source, revealing or obsucring it. Combined with the Move Value filter, this can create a very nice animated hide/reveal transition. The adjustable parameters are:
- Scale- Scaling of the number of steps in the frame. Larger number means more (and thus smaller) scaled steps.
- Make non-rhombus pixels transparent- When enabled, this will set the alpha of any pixels outside of the rhombuses and transition zone to zero, allowing sources behind to show through. This allows the user reveal another source behind the pattern, or to apply filters underneath the pattern layer (e.g.- a blur or LUT) that only affect the steps themsleves.
- Reveal Distance- a value between
0.0
and100.0
that specifies how far across the frame the transition wipe currently is. This is the value that would be animated with theMove Value
filter to animate a wipe on/wipe off transition. - Transition Zone Size- Width in pixels of the tranzition zone that rhombuses appear in, as the reveal distance is changed. Pixels grow from a point in this zone to full-size as the reveal distance moves.
- Transition Angle- An angle between
-180.0
and180.0
degrees that determines the direction of the transition/reveal. An angle of0.0
will wipe from left to right,90.0
will move from bottom to top, etc. - Transition Effect- Can be either "Blobs" or "Blinds". Blobs are round circles that expand to fill a rhombus giving a "blobby" effect. Blinds are vertical lines that thicken horizontally to fill the rhombuses, giving a vertical blinds effect.
- Transition Background Color- RGBA values for the background of the transition zone. Set the alpha value to zero for no background.
This shader creates a customizable Triakis Triangle tessellation (the Disney World Epcot ball pattern) that can sweep over a source, revealing or obsucring it. Combined with the Move Value filter, this can create a very nice animated hide/reveal transition. The adjustable parameters are:
- Triangle Scale- Scaling of the number of pattern repeats in the frame. Larger number means more (and thus smaller) scaled triangles.
- Make non-triangle pixels transparent- When enabled, this will set the alpha of any pixels outside of the triangles and transition zone to zero, allowing sources behind to show through. This allows the user reveal another source behind the pattern, or to apply filters underneath the pattern layer (e.g.- a blur or LUT) that only affect the steps themsleves.
- Reveal Distance- a value between
0.0
and100.0
that specifies how far across the frame the transition wipe currently is. This is the value that would be animated with theMove Value
filter to animate a wipe on/wipe off transition. - Transition Zone Size- Width in pixels of the tranzition zone that triangles appear in, as the reveal distance is changed. Pixels grow from a point in this zone to full-size as the reveal distance moves.
- Transition Angle- An angle between
-180.0
and180.0
degrees that determines the direction of the transition/reveal. An angle of0.0
will wipe from left to right,90.0
will move from bottom to top, etc. - Transition Effect- Can be either "Blobs" or "Blinds". Blobs are round circles that expand to fill a rhombus giving a "blobby" effect. Blinds are vertical lines that thicken horizontally to fill the rhombuses, giving a vertical blinds effect.
- Transition Background Color- RGBA values for the background of the transition zone. Set the alpha value to zero for no background.