Posted June 29, 201510 yr This is probably a dumb question, but how do I make a custom fluid translucent? I have a custom fluid that is functional and is taking the texture I give it, but is not taking into account the opacity of the .png file. What simple thing have I overlooked this time? Thanks in advance! Able to differentiate the difference of a sum and an integral.
June 30, 201510 yr You can make your custom implementation for fluid block/ I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
June 30, 201510 yr Author Pardon my ignorance here, since graphics are definitely not my strong suit, but I don't see how extending the class will help with the opacity. I haven't seen a method in the FluidBlockClassic class that I could override that would cause the desired effect and I'm pretty sure I can't write my own method to do it either. Able to differentiate the difference of a sum and an integral.
June 30, 201510 yr Sorry, I misunderstood your post; What do you mean by 'not taking into account the opacity of the .png file'? Does it ignore alpha channel? I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
June 30, 201510 yr Author Correct. The fluid is functioning as desired, the only issue is with the graphics. I have my .png with an opacity/alpha of 100/255 (using paint.net to do graphics), but the fluid is rendering as a solid block. Able to differentiate the difference of a sum and an integral.
June 30, 201510 yr Wait, what is the opacity value? I think there is only RGB + Alpha data on png file. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
June 30, 201510 yr Author Well, I re-opened my .png and it appears the opacity/alpha didn't save correctly... I've found the cause for that and now everything works perfectly! This was embarrassing... Able to differentiate the difference of a sum and an integral.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.