Started by
onneim
on
Topic category: Troubleshooting, bugs, and solutions
I created my own custom glass block and when I turn on Smooth Lighting option in game it has ugly shadow inside, that isn't suppose to happen, vanilla glass doesn't have it, how do i remove it and make the block look similar to glass, light opacity was set to 0
on left vanilla, on right custom glass
Edited by onneim on Thu, 08/28/2025 - 09:57
ok I figured it out, u need to add these two lines of code to your glass block java file and it will remove that ugly shadow inside
first this if u don't have it already
then most importantly this