Open DragonDev1906 opened 4 years ago
another option: to abuse the minecraft wiki to scrape transparent block IDs.
yet another option: assume all new blocks are transparent, may not be the fastest or most efficient but it should work in most cases and would render any known blocks underneath new blocks just in case they are transparent.
Potentially solved by #3 through using a proper renderer
I think the best option (for now) would be to check the alpha of every pixel "inside" of the block for beeing 1 (or almost 1 because of floats). Probably best to do that C (like alpha_blend) and call it from Textures or BlockRenderer
Options: