- curve.storage(LUMINANCE, 256, 1);
- Sampler &sampler = curve.get_default_sampler();
- sampler.set_min_filter(LINEAR);
- sampler.set_wrap(CLAMP_TO_EDGE);
- texturing.attach(1, curve);
+ curve.storage(LUMINANCE8, 256, 1);
+ texturing.attach(1, curve, linear_sampler.get());