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
@@ -31,7 +31,7 @@ namespace GlitchyEngine.Renderer
{
Debug.Profiler.ProfileFunction!();
_clearUintFx = Content.LoadAsset("Resources/Shaders/ClearUInt.hlsl", null, true);
_clearUintFx = Content.LoadAsset("Resources/Shaders/ClearUInt.fx", null, true);
BlendStateDescription desc =.Default;
desc.RenderTarget[0].BlendEnable = false;
_nonblendingState = new BlendState(desc);