- Supported Bit Versions
-
- 32-bit
- 64-bit
- Source Code URL
- https://github.com/FiniteSingularity/obs-stroke-glow-shadow
- Minimum OBS Studio Version
- 28.0.0
- Supported Platforms
-
- Windows
- Mac OS X
- Linux
An OBS plugin to create strokes, glow, and shadows around masked sources.
Introduction
The Stroke, Glow, Shadow Plugin offers an efficient way to apply Stroke, Glow, and Shadow effects to masked sources in OBS.- Stroke, Glow, Shadow, as the name implies, provides effects for applying Stroke, Glow, and Drop Shadow to any masked sources in OBS. You can use these effects on everything from a chroma-keyed facecam to a native OBS text source.
- All three effects allow for inner and outer applications.
- Additionally, all three effects offer options for solid color or another OBS source to be used for the fill type.
- Lastly, all three effects are available as both inline filters and as separate sources.
Effect Types
Stroke
The stroke effect draws a line with user-definable stroke size and offset around the masked source.Stroke filter with offset applied to a chroma-keyed facecam giving the look of a sticker.
Stroke Filter Parameters
- Source- Only available when used as a source Select the source used to generate the stroke. In the case of a filter, this is the filtered source and this input will not be shown.
- Position- Select either Outer Stroke or Inner Stroke. Outer strokes are drawn from the edge of the mask outward, while inner strokes are drawn from the edge of the mask inward over the top of the original source.
- Options- For an Outer Stroke if using the Stroke Source there is an option for Infill Zero Offset which will fill inside of the stroke if the offset is zero. For an inner stroke, both the filter and source have the option Ignore Source Border which will suppress drawing a stroke anywhere the masked content meets the edge of the source (e.g.- if your masked facecam is aligned with the bottom of the source).
- Stroke Size- Specifies the thickness (in pixels) of the stroke.
- Offset- Indicates how many pixels from the edge of the mask you want the stroke to be drawn.
- Offset Quality- If you are providing an offset value, you can choose the offset calculation algorithm. Fast is a quick approximation and will result in less accurate (but still visually pleasing) stroke thickness. More Accurate uses a two-pass technique (resulting in double the number of texture samples) to provide a more accurate stroke thickess.
- Anti-Alias- If selected will perform a basic anti-aliasing pass to remove the jagged edges seen on the edges of the stroke.
- Fill Type- Choose between Color or Source.
- The color or source to be used as fill.
Glow
The glow effect draws a feathered stroke with a user-defined size and intensity around the masked source.Chroma-keyed facecam with both an inner and outer glow applied.
- Source- Only available when used as a source Select the source used to generate the glow. In the case of a filter, this is the filtered source and this input will not be shown. If using the Glow Source a source in this dropdown must be selected.
- Position- Select either Outer Glow or Inner Glow. Outer glows are drawn from the edge of the mask outward, while inner glows are drawn from the edge of the mask inward, over the top of the original source.
- Options- For an Outer Glow, if using the Glow Source, there is an option for Infill which will fill inside of the glow (the area that would be behind the original source). For an inner glow, both the filter and source have the option to Ignore Source Border, which will suppress drawing a glow anywhere the masked content meets the edge of the source (e.g., if your masked facecam is aligned with the bottom of the source).
- Blur Type- Choose either Triangular or Dual Kawase. Triangular is a more accurate, less diffuse, and tighter blur, whereas Dual Kawase is significantly more efficient, and more spread out.
- Size- Specifies the thickness (in pixels) of the glow.
- Intensity- Determines how bright the glow is. Higher intesity values will have less feathering and brighter colors.
- Fill Type- Choose between Color or Source.
- The color or source to be used as fill.
Shadow
The shadow effect draws an offset drop-shadow simulating a light causing the selected source to cast a shadow, giving the effect of the source floating off the canvas.Webcam with outer (left) and inner (right) shadows applied.
- Source- Only available when used as a source Select the source used to generate the shadow. In the case of a filter, this is the filtered source and this input will not be shown. If using the Shadow Source a source in this dropdown must be selected.
- Position- Select either Outer or Inner Shadow. Outer shadows give the sense of the source floating over the top of the canvas, while inner shadows make the source appear as if it is in a cutout below the canvas.
- Options- For an Outer Shadow, if using the Shadow Source effect, there is an option for Infill which will fill inside of the shadow (the area that would be behind the original source). For an inner shadow, both the filter and source have the option to Ignore Source Border, which will suppress drawing a shadow anywhere the masked content meets the edge of the source (e.g., if your masked facecam is aligned with the bottom of the source).
- Blur Type- Choose either Triangular or Dual Kawase. Triangular is a more accurate, less diffuse, and tighter blur, whereas Dual Kawase is significantly more efficient, and more spread out.
- Size- Specifies the thickness (in pixels) of the feathered portion of the shadow.
- Intensity- Determines how strong the shadow is. Higher intensity values will have less feathering and more saturated colors (e.g., darker grays).
- Light Angle- Specifies the direction the shadow is cast.
- Shadow Distance- Indicates the distance in pixels that the shadow is cast.
- Fill Type- Select Color or Source.
- The color or source to be used as fill.
Fill Types
A stroke, glow, or shadow can be filled using either a solid color or a source.- Color- Represents an RGBA color. The alpha channel can be used to create a lower opacity result, allowing the background to show through.
- Source- Refers to a different OBS Source. This can be anything from a media source to a fully filtered and rendered scene.