summaryrefslogtreecommitdiffhomepage
path: root/shaders/lightmap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/lightmap.hpp')
-rw-r--r--shaders/lightmap.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/shaders/lightmap.hpp b/shaders/lightmap.hpp
index 0479a9b3..5bd38069 100644
--- a/shaders/lightmap.hpp
+++ b/shaders/lightmap.hpp
@@ -46,13 +46,10 @@ struct lightmap_shader final : GL::AbstractShaderProgram
void add_light(Vector2 neighbor_offset, const light_s& light);
void bind();
void finish();
+ static int iter_bounds();
GL::Texture2D& accum_texture();
- // todo allow 16 neighbors on new gpu's
- static constexpr auto neighbor_count = 4;
- static constexpr auto half_neighbors = Vector2(neighbor_count)/2;
-
using Position = GL::Attribute<0, Vector3>;
private: