Leaves, like grass, should change colour depending on the biome. #2683
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-Minecraft feature
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#2683
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, grass seems to change colour depending on which biome it is on, but the same cannot be said for leaves, or other plants for that matter.
Leaves should also change their colours depending on which biome they're located on. This will help give the biomes a more uniform and overall more beautiful look.
This colour change should also count for most other plants, like vines.
it's just reeds / sugarcane and grass. Tallgrass and fern might work i suppose, leaves and vines are probably off the table (vines bc they use param2 which is used for the color for the orientation) and leaves because they get placed through schematics - i think going over them after the fact might be quite expensive.
I've made it for water before, only works for water source not flowing water though you can have a look in this commit if anyone wants to play around with this stuff - that's basically how it works: biome has a "palette index" number and the node definitions include a palette file - the number signifies which pixel from the palette to use as the color.
What about creepers though? I think we need chameleocreepers
What a shame. Hopefully one day the development team can get around fixing this seemingly easy but actually difficult issue.
But I guess "chameleon creepers" that blend in with the environment could make for a new type of danger. It doesn't seem very vanilla though, so it should probably be a mod that can be installed instead.
Who cares about vanilla :)
b485364feb
- here's the water thing only works with water sources though so also not ideal but it does kind of look nice - except at the interface between flowing and source water hahaBut it shows how it works: the biomes have a "palette_index" property which is a number that correlates to a pixel in a palette which is used by the minetest paramtype2 "color" (which means param2 set's the color if you hadn't guessed)
There everything you asked for except vines totally does work with leaves - forget what i said.
and vines can maybe work as well using the "colorwallmounted" paramtype2 - the palette would be limited 32 but mcl_core_palette_grass only has 30 at the moment anyways
This sounds like great news.
So, it's only flowing water that is unable to change colours, and vines are limited in which colours they can use? What is the reason behind this?
as i said they use the same field for the orientation so only 5 bit remain ig https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L729
So, does this mean that it's impossible to change the colour of flowing water? Or will a solution be found to this one day?
I guess I should close this now, since biome coloured leaves have finally been added: MineClone2/MineClone2#3420.
It has been quite the journey to get this added.