Simple sample to draw a 3d grid with variable resolution and texturing. The elements of the grids are displaced with a sinus function to result in a flag effect.