From 61cd8d99e6a3475eaf2bd28bc24892cf1aae0398 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Tue, 15 Aug 2023 07:29:58 -0400 Subject: WIP on the summer theme --- themes/src/summer/SummerTheme.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'themes/src/summer/SummerTheme.cpp') diff --git a/themes/src/summer/SummerTheme.cpp b/themes/src/summer/SummerTheme.cpp index 81cc43b..6106c89 100644 --- a/themes/src/summer/SummerTheme.cpp +++ b/themes/src/summer/SummerTheme.cpp @@ -2,10 +2,12 @@ #include "../Renderer2d.h" #include "../list.h" #include "../mathlib.h" +#include "../shaders/sun_frag.h" +#include "../shaders/sun_vert.h" #include void SummerTheme::load(Renderer2d* renderer, WebglContext* context) { - renderer->load(context); + renderer->load(context, shader_sun_vert, shader_sun_frag); renderer->clearColor = Vector4(0, 181, 286, 255.f).toNormalizedColor(); sun.sectors = 180; sun.radius = renderer->context->width / 4.f; -- cgit v1.2.1