fbo[i].require_complete();
}
- // XXX Make the depth range configurable
camera.set_field_of_view(Geometry::Angle<float>::right());
camera.set_aspect_ratio(1);
camera.set_depth_clip(0.1, 100);
}
+void EnvironmentMap::set_depth_clip(float n, float f)
+{
+ camera.set_depth_clip(n, f);
+}
+
void EnvironmentMap::setup_frame(Renderer &renderer)
{
if(rendered)
public:
EnvironmentMap(unsigned size, Renderable &rend, Renderable &env);
+ void set_depth_clip(float, float);
+
virtual void setup_frame(Renderer &);
virtual void finish_frame();