owengage / fastnbt

Fast serde serializer and deserializer for Minecraft's NBT and Anvil formats
MIT License
186 stars 34 forks source link

Account for leaf texture in colour #60

Open owengage opened 2 years ago

owengage commented 2 years ago

We extract the colour of leaves from the foilage.png. Technically leaves still have a texture. This texture is grey, and combined with the foilage colour to get the final texture.

To be colour accurate we should get the average grey of the texture and blend that with the foilage texture.

This seems particularly glaringly wrong for mangrove leaves, but may be due to having the wrong climate values.