private void LoadAll() { using (logger.BeginScope("Shader setup")) { loader.LoadIncludable("noise", "noise.glsl"); loader.LoadIncludable("decode", "decode.glsl"); SimpleSection = loader.Load("simple_section.vert", "section.frag"); ComplexSection = loader.Load("complex_section.vert", "section.frag"); VaryingHeightSection = loader.Load("varying_height_section.vert", "section.frag"); CrossPlantSection = loader.Load("cross_plant_section.vert", "section.frag"); CropPlantSection = loader.Load("crop_plant_section.vert", "section.frag"); OpaqueLiquidSection = loader.Load("liquid_section.vert", "opaque_liquid_section.frag"); TransparentLiquidSection = loader.Load("liquid_section.vert", "transparent_liquid_section.frag"); Overlay = loader.Load("overlay.vert", "overlay.frag"); Selection = loader.Load("selection.vert", "selection.frag"); ScreenElement = loader.Load("screen_element.vert", "screen_element.frag"); UpdateOrthographicProjection(); logger.LogInformation(Events.ShaderSetup, "Completed shader setup"); } }