]> git.tdb.fi Git - libs/gl.git/blobdiff - source/effects/shadowmap.cpp
Use default member initializers for simple types
[libs/gl.git] / source / effects / shadowmap.cpp
index a0627faabf14834fd959ad1abe043dbb79feef18..36011107e3d19de1f6aa07eb7235d0fdc9d869bc 100644 (file)
@@ -17,11 +17,7 @@ ShadowMap::ShadowMap(unsigned w, unsigned h, Renderable &r, const Lighting *l, R
        height(h),
        lighting(l),
        shadow_caster(c),
-       sampler(Resources::get_global().get<Sampler>("_linear_clamp_shadow.samp")),
-       radius(1),
-       depth_bias(4),
-       darkness(1.0f),
-       rendered(false)
+       sampler(Resources::get_global().get<Sampler>("_linear_clamp_shadow.samp"))
 {
        depth_buf.storage(DEPTH_COMPONENT32F, width, height, 1);
        fbo.set_format((DEPTH_ATTACHMENT,DEPTH_COMPONENT32F));