From: Mikko Rasa Date: Thu, 11 Jun 2020 14:18:08 +0000 (+0300) Subject: Fix shadow map uniform name X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=929a2d975be0590503fe6701526dd9536e60e026;p=libs%2Fgl.git Fix shadow map uniform name --- 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);