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));