Separate handling for hlsl and fx files

This commit is contained in:
Simon Lübeß
2025-02-11 23:07:04 +01:00
parent 06b981e88a
commit 7a306cac69
52 changed files with 155 additions and 194 deletions
@@ -33,7 +33,7 @@ namespace GlitchyEngine.Renderer.Text
InitFreetype();
// TODO: We might get away with a non blocking load here, but not for now!
_msdfEffect = Content.LoadAsset("Resources/Shaders/msdfShader.hlsl", null, true);
_msdfEffect = Content.LoadAsset("Resources/Shaders/msdfShader.fx", null, true);
_msdfMaterial = new Material(_msdfEffect);
s_isInitialized = true;