void operator ()(Chunk &) const;
void Space(Block::Type t) { space = t; }
+ void Light(Block::Type t) { light = t; }
void Solids(const std::vector<Block::Type> &s) { solids = s; }
private:
SimplexNoise solidNoise;
- SimplexNoise typeNoise;
+ WorleyNoise typeNoise;
float stretch;
float solid_threshold;
Block::Type space;
+ Block::Type light;
std::vector<Block::Type> solids;
};