// -*-C++-*- void GENERATE(TextureParam *params, int width, int height, int depth, int components, float *data) { if(components != 1) return; /* makes 2(1)D-texture: * _________________________ * |__|__|__|xx|xx|__|__|__| * * -where x are black pixels */ for (int h=0; h 4) { for (int i=low; i