Painted doors let light through
clragon opened this issue ยท 4 comments
Issue Description:
Painted doors let light through, making them distinguishable from the blocks they are painted with
What happens:
When a painted door placed next to the block it is painted with, light is let through the painted door, making it look quite different from a solid block.
What I expected to happen:
The door and the original block to be looking completely the same without it letting light through making it basically hidden.
Steps to reproduce:
- Paint a door (tested with oak) with block X
- Make a closed room with block X
- Break a hole into it and place painted door there
- Be amazed as light is let into this entirely solid room with a not so hidden door.
Affected Versions:
- EnderIO: 5.0.38
- EnderCore: 1.12.2-0.5.43
- Minecraft: 1.12.2
- Forge: 14.23.5.2768
- SpongeForge? no
- Optifine? yes
- Single Player and/or Server? Single Player and Server
A screenshot that represents the issue:
Solid room:
Room with painted door:
Expected room with painted door:
On a side note, since doors can be placed two ways, placing them with their angle on the right side (like placing the second door of a double door, the right part of the door) the painted texture facing you will be inverted and it will look very weird when paired with the same block.
I don't know if this can be fixed, but I kinda would appreciate it.
The mirrored texture is cause by the vanilla door model, we just re-texture that. Reason is that we want the painted door to follow any model changes a texture pack does to the vanilla door.
The light is a bit tricky. It's no possible to block light only in one direction, or one side of the block. So if we would block light when painted with a solid block, it would also block light if the door was placed sideways, or was open.