summaryrefslogtreecommitdiffhomepage
path: root/shaders/lightmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/lightmap.cpp')
-rw-r--r--shaders/lightmap.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/shaders/lightmap.cpp b/shaders/lightmap.cpp
new file mode 100644
index 00000000..3575e424
--- /dev/null
+++ b/shaders/lightmap.cpp
@@ -0,0 +1,20 @@
+#include "lightmap.hpp"
+#include "src/local-coords.hpp"
+
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wfloat-equal"
+#endif
+
+namespace floormat {
+
+lightmap_shader::~lightmap_shader() = default;
+bool lightmap_shader::light_s::operator==(const light_s&) const noexcept = default;
+
+static constexpr Vector2 output_size = TILE_MAX_DIM * TILE_SIZE2 * 3;
+
+lightmap_shader::lightmap_shader()
+{
+
+}
+
+} // namespace floormat