summaryrefslogtreecommitdiff
path: root/themes/src/summer/SummerTheme.cpp
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew@matthewkosarek.xyz>2023-08-15 07:29:58 -0400
committerMatthew Kosarek <matthew@matthewkosarek.xyz>2023-08-15 07:29:58 -0400
commit61cd8d99e6a3475eaf2bd28bc24892cf1aae0398 (patch)
tree5d7aa844cb1ef1fccb124b0e5832635ae22fed9b /themes/src/summer/SummerTheme.cpp
parent056d4560f72a9ec281f8df31aa2a7d8241d6adf1 (diff)
WIP on the summer theme
Diffstat (limited to 'themes/src/summer/SummerTheme.cpp')
-rw-r--r--themes/src/summer/SummerTheme.cpp4
1 files changed, 3 insertions, 1 deletions
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 <vector>
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;