PixelGuys / Cubyz

Voxel sandbox game with a large render distance, procedurally generated content and some cool graphical effects.
GNU General Public License v3.0
370 stars 47 forks source link

Caves are too dark #437

Open careeoki opened 1 month ago

careeoki commented 1 month ago

Pitch dark caves are cool and scary, but would suck for gameplay. You can't see the ground you are standing on, let alone the cave around you: any cool generation, any ores or points of interest.

IntegratedQuantum commented 1 month ago

I would like to keep the basic cave biome in 100% darkness. I don't want the base caves to be lit, to avoid the boring gameplay of turning your brightness up instead of placing torches.

So I think we should give each biome a base light level parameter (and while we are at it, maybe also a base fog color/density), that get set in a shader uniform. A smooth transition should be used when changing biomes.