Open satoshinm opened 7 years ago
https://www.reddit.com/r/Minecraft/comments/368lzd/my_biome_color_specific_blocks_all_changed_to/ describes a similar problem:
and suggests it has to do with the "tintindex" of the resources, used to apply a biome-specific color.
Something like this may help? From CraftNG: https://github.com/twetzel59/CraftNG/commit/b715b8c319e5650dabc8597ef05af464cf46d3f6 -- well, that's for sky tint per biome
The technical term is colorization. Interesting algorithm: http://tinyclouds.org/colorize/ using TensorFlow to automatically colorize. But this problem is much simpler. There are specific textures which are only grayscale (r=g=b), use to lookup in 256x256 grasscolor or foliagecolor.
Requested on https://www.spigotmc.org/threads/websandboxmc.232807/page-3#post-2428619 "when will green grass and green leaves be implemented just wondering:)" https://github.com/hughsk/voxel-colorist
If you not yet want to make biome and the green color change by biome, you and simply choose a color in colormap, and then overlay it on the grayscale picture.
Especially for https://github.com/satoshinm/NetCraft/issues/113, but even with texture atlases from pre-1.5 MC, such as loading 1.7.3 beta terrain.png here - or many other packs - the leaves and grass appear gray instead of green:
A green tint likely needs to be applied. Might as well change the default texture to gray, too, and make it green at runtime (in the shader?).