MonoGame.GlowEffect 1.0.12

dotnet add package MonoGame.GlowEffect --version 1.0.12                
NuGet\Install-Package MonoGame.GlowEffect -Version 1.0.12                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MonoGame.GlowEffect" Version="1.0.12" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MonoGame.GlowEffect --version 1.0.12                
#r "nuget: MonoGame.GlowEffect, 1.0.12"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MonoGame.GlowEffect as a Cake Addin
#addin nuget:?package=MonoGame.GlowEffect&version=1.0.12

// Install MonoGame.GlowEffect as a Cake Tool
#tool nuget:?package=MonoGame.GlowEffect&version=1.0.12                

MonoGame.GlowEffect

<b>MonoGame.GlowEffect</b> is a library to generate glow for Texture2D in MonoGame. We also support Sprite Font. We use a shader effect to generate the Glow effect.

How to use

Initialize and Load the GlowEffect

protected override void LoadContent()
{
    GlowEffect.InitializeAndLoad(Content, GraphicsDevice);

    // ...
}

Create a new Texture with glow

Color color = Color.Yellow;
int glowWidth = 20;
float intensity = 30;
float spread = 0;
float totalGlowMultiplier = 100;
bool hideTexture = false;
var textureWithGlow = GlowEffect.CreateGlow(myTexture, color, glowWidth, intensity, spread, totalGlowMultiplier, hideTexture);

Color textColor = Color.Black;
Color glowColor = Color.Yellow;
int glowWidth = 20;
float intensity = 30;
float spread = 0;
float totalGlowMultiplier = 100;
bool hideTexture = false;
var textGlow = GlowEffect.CreateGlowSpriteFont(arialSpriteFont, "My Text", textColor, glowColor, glowWidth, intensity, spread, totalGlowMultiplier, hideTexture);

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.12 121 9/4/2024
1.0.11 91 9/4/2024
1.0.4 429 12/28/2021
1.0.3 277 12/28/2021
1.0.2 384 5/19/2021
1.0.1 341 5/2/2021
1.0.0 311 4/12/2021