X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fshadowmap.cpp;h=0e32210f49a044a36f4977fc1e069854ee42f57a;hb=929a2d975be0590503fe6701526dd9536e60e026;hp=921a1747875b4bf0b349042dac6aab26095cff84;hpb=fd62e55d37716787fe909883a1b18e5b8128ec80;p=libs%2Fgl.git 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);