Commit graph

6 commits

Author SHA1 Message Date
0a485343a0
resource: do not require Biome to get color for all block types
Only grass, foliage and water have biome-dependent colors.
2023-08-03 18:28:57 +02:00
c472b61ef7
resource/block_color: actually apply grass color modifiers to grass
Apply the modifiers to grass, not to foliage.
2023-07-04 00:21:27 +02:00
d84e2ca49d
resource/block_color: fix default foliage colors
The code accidentally used the grass colors.
2023-07-03 23:49:36 +02:00
c471f84573
resource/block_color: fix scaling of biome-specific colors
All biome-specific colors (water/foliage/grass) were too bright by a
factor of 255 (i.e., white).
2023-07-03 23:45:00 +02:00
b66bdf5ce1
resource: implement water/foliage/grass color computation 2023-05-04 23:18:04 +02:00
25710bb1ed
Move block_color() to new module 2023-05-04 22:18:15 +02:00