Monogame LightEffect Tutorial

This is a tutorial about, How to aply a Simple lightEffect in a monogame program,

First, you may have a sprite to cover in Dark and other to represent the light.
i tried with NewSpriteEffect. for the fx file.

Now i´ll show you the fx file code:

the Game.cs file.

and the result is, something like this.

i hope help you
thanks to Alkher and Jjagg

2 Likes

I didn’t help, it was just @Alkher :stuck_out_tongue: