Using a genetic algorithm for the procedural generation of layered materials for real-time rendering