Jump to content

Fluid rendering texture


yesod30

Recommended Posts

I was trying to make some new fluid, a water of every one of the color. I tried to use for statement, to avoid doing 16 class, one for every fluid block. It creates correctly the fluid, with different names and inventory space , but it set the texture always to the first fluid texture.

I can't understand why, since it should take different name for every time it creates the block. I also check the png name, and they are correct.

General fluid class: http://pastebin.com/Ud5Qz3VC

Colored water class: http://pastebin.com/2fv2U1EM

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.