Skip to content

StepingForward/FNA-Effects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FNA-Effects

This is a test project I made for seeing how to work with different simple Effects in FNA. I learned quite a bit from this little "test". And would love to share the code and the effects themselves with people who are trying to do the same!

Shaders

Effects.fx

These are just some small effects I made as a start(not even sure if they work 😅).

They include:

- Bevel
- Sin Inverted function???
- Heat Distortion
- Water Distortion
- Vignette

Crt.fx

This is a CRT effect with multiple different variables to change and to play around with(it has water and heat distortion implemented into it with booleans).

image

Background.fx

This includes 4 different background styles which all move and some rotate.

Them being:

- Cool clouds(copied from shadertoy) TYPE 1
- Cool Squares			     TYPE 2
- Even Cooler Squares?!?!?           TYPE 3
- MORE SQUARES	                     TYPE 4
background_effects.mp4

Light.fx

A very simple implementation of lights, nothing more to say.

image

Other stuff

Other than the AMAZING effects, there are also some small additions:

- CompileShaders() // Compiles shaders :0
- CreateTexture() // Creates a blank 1 color Texture
- Dynamic resizing of the area the render target is being drawn on to, you can find it in the Draw() function

That is about it, if you found at least something useful I will be very happy, otherwise have a great day my friend!

a lot of the code does suck, but it was made for testing purposes so don't judge :)

About

Made for testing out some Effects in XNA/FNA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors