RogueLegacy1/RogueCastle/Shaders
Ethan Lee 01f2eb5307
Some checks failed
CI / Linux (push) Has been cancelled
Add shader source!
2024-11-19 12:00:36 -05:00
..
2xMultiBlend.fx Add shader source! 2024-11-19 12:00:36 -05:00
AlphaMaskShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
AmbientNormalMapFX.fx Add shader source! 2024-11-19 12:00:36 -05:00
BlurShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
BrightPass.fx Add shader source! 2024-11-19 12:00:36 -05:00
buildEffects.bat Add shader source! 2024-11-19 12:00:36 -05:00
buildEffects.sh Add shader source! 2024-11-19 12:00:36 -05:00
BWMaskShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
ColourSwapShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
CrepuscularShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
GaussianBlur.fx Add shader source! 2024-11-19 12:00:36 -05:00
GaussianBlurMask.fx Add shader source! 2024-11-19 12:00:36 -05:00
HSVShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
InvertShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
LightRays.fx Add shader source! 2024-11-19 12:00:36 -05:00
LightSourceMask.fx Add shader source! 2024-11-19 12:00:36 -05:00
MaskFX_Shader2.fx Add shader source! 2024-11-19 12:00:36 -05:00
NormalMapFX.fx Add shader source! 2024-11-19 12:00:36 -05:00
OutlineShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
ParallaxFX.fx Add shader source! 2024-11-19 12:00:36 -05:00
PPVertexShader.fxh Add shader source! 2024-11-19 12:00:36 -05:00
README.md Add shader source! 2024-11-19 12:00:36 -05:00
reductionEffect.fx Add shader source! 2024-11-19 12:00:36 -05:00
resolveShadowsEffect.fx Add shader source! 2024-11-19 12:00:36 -05:00
RippleFX.fx Add shader source! 2024-11-19 12:00:36 -05:00
SceneBlend.fx Add shader source! 2024-11-19 12:00:36 -05:00
ShadowFX.fx Add shader source! 2024-11-19 12:00:36 -05:00
Shockwave.fx Add shader source! 2024-11-19 12:00:36 -05:00
ShockwaveTest.fx Add shader source! 2024-11-19 12:00:36 -05:00
StrokeShader.fx Add shader source! 2024-11-19 12:00:36 -05:00
TintRemovalShader.fx Add shader source! 2024-11-19 12:00:36 -05:00

Believe it or not, Rogue Legacy uses a shader system that is very very old!

Like all XNA games, RL1 uses the Effects Framework, a forgotten DXSDK format. XNA had a way to compile these via the Content Project, but you can get the same binaries by using FXC, the old shader compiler from the DirectX SDK (June 2010).

Whether on Windows or not, install the June 2010 DirectX SDK and buildEffects should do what it needs to do. It's not exactly the same since XNA expects a specific compression on top of the FX output, but FNA is more flexible, so to accommodate community changes the SDL3 update for RL1 now uses the "fxb" format directly, to avoid weird content overrides and collisions.

Enjoy!