From 929a2d975be0590503fe6701526dd9536e60e026 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 11 Jun 2020 17:18:08 +0300 Subject: [PATCH] Fix shadow map uniform name --- source/shadowmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shadowmap.cpp b/source/shadowmap.cpp index 921a1747..0e32210f 100644 --- a/source/shadowmap.cpp +++ b/source/shadowmap.cpp @@ -99,7 +99,7 @@ void ShadowMap::render(Renderer &renderer, const Tag &tag) const unsigned unit = renderer.allocate_effect_texunit(); int iunit = unit; - shdata.uniform("shadow", iunit); + shdata.uniform("shadow_map", iunit); Bind _bind_depth(depth_buf, unit); -- 2.45.2