Godot Version
Godot v4.6
Question
Hey guys! I found a rendering error..
So i found out how to add custom blocks to voxel game demo and found a part which changes looks of Bush blocks, added my block ids to it. And it worked but something was wrong..
The blocks below the flower was Invisible!
IMAGE:
I don’t understand the picture. There’s clearly visible ground under your “invisible ground” arrow.
These look like dirt blocks, maybe you mistook them as the side view of the grass blocks?
I mean the arrow is pointing to the invisible blocks or rendering glitch
It’s a confusing , do you expect to see there some object rendered?
i mean the blocks below the red mushroom, dandelion, and brown mushroom blocks (the new ones i added) for some reason render the top face of the block below invisible.
Obviously this is not enough for people to help, or even understand the problem. I don’t know the “voxel game demo”, but if it has its own git repository you could write an issue there. Best would be more than one screenshot, because right now it just looks like instead of grass there is a dirt texture, which could be a side effect of putting the flowers on a block.
1 Like
There is a function Chunk.is_block_transparent() that you will need to update to recognise your new flowers/mushrooms.