- GL::Sequence::Step &step = sequence.add_step(0, *renderable);
- step.set_lighting(&lighting);
- step.set_depth_test(&GL::DepthTest::lequal());
- step.set_blend(&GL::Blend::alpha());
+ if(!sequence)
+ {
+ sequence = new GL::Sequence(view);
+ GL::Sequence::Step &step = sequence->add_step(0, *renderable);
+ step.set_lighting(&lighting);
+ step.set_depth_test(GL::LEQUAL);
+ step.set_blend(GL::Blend(GL::SRC_ALPHA, GL::ONE_MINUS_SRC_ALPHA));
+ }