shdata.uniform("curve", 1);
curve.storage(LUMINANCE, 256, 1);
- curve.set_min_filter(LINEAR);
- curve.set_wrap(CLAMP_TO_EDGE);
+ Sampler &sampler = curve.get_default_sampler();
+ sampler.set_min_filter(LINEAR);
+ sampler.set_wrap(CLAMP_TO_EDGE);
texturing.attach(1, curve);
set_exposure_adjust(0.0f);