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