I was wondering whether its possible to make a certain block emit light using a shader, and it turns out its very simple to do.

first open photon\_v1.2a.zip\\shaders

now if you want the light to only emit when item is held edit item properties if you want the whole block to emit light then edit block properties.

go to 10032-10063 - Light-emitting blocks section

decide how strong you want the light to be, I used strong white light as example.

so all you do is add an space and type the name of the block. for crimson block it would look like # Strong white light

block.10032 = sea\_lantern crimson\_planks

thats it.

now crimson planks emit same light as sea latern.

this can be applied to any block, maybe even custom blocks from resource packs.

https://preview.redd.it/3460uaq494hg1.png?width=1238&format=png&auto=webp&s=4eb3ddd5ce8b272fd6a6641679ad8af8b9a42ff0

https://preview.redd.it/o3kav2d594hg1.png?width=1200&format=png&auto=webp&s=9c2386bee9aef893c690dc95017293cb2a5b5d53


Voir le contenu lié