Jump to content

I3d Question


Recommended Posts

Hello Everybody,

Does anybody know, how to have different colors for different metaballs in image rendered using I3d??????

What I think is, we have to create a color channel in 3d Texture created using i3dgen.

Then have to use that channel in Fog shader. For that we have to have our custom i3d shader and fog shader.

Am I going right???

I am trying to do that, but something is going wrong. I am taking color attribute from my geometry.When adding color channel in i3d shader, whether we have to use mattrib() function inside forpoints() Loop or outside.

Also, forpoints(P) Loop is to loop thru all points or metaballs.

I think it loops thru all metaballs one by one. correct me if I am wrong.

Thanking in advance.

-------iamjaideep80

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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...