'How do I make the block pass light with the texture pack

My question is not how to set block texture transparent. Let's say I have obsidian. I want to obsidian pass light like glass. When I build an obsidian home everywhere going to be dark. I want the outside light to come in, like on the glass block.

this

to this

I need to do this with texture pack or data pack. Can I do this?



Solution 1:[1]

You can simply use a transparent block like glass and just replace the texture with obsidian.

Obsidian: Obsidian

Glass w/ obsidian texture: Glass w/ obsidian texture

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anston Sorensen