evillemez / terra

An experiment in procedural generation.
0 stars 0 forks source link

Terrain color fragment shader #3

Open evillemez opened 9 years ago

evillemez commented 9 years ago

Figure out terrain color in a fragment shader instead of setting explicit face colors during mesh generation. This would allow for smoother blending between terrain types as well.

evillemez commented 9 years ago

Before doing this - convert voxel data underlying to use nd-array instead of nested arrays. This will make sending the data to the GPU easier, and should be more performant anyway.