Jump to content

Colorize I3d?


SgtSpamBoy

Recommended Posts

Hey everyone! (this is my first post, yay).

Using particles with metas/spheres/sprites, I know how to colorize and control alpha based on the life of the particles using $LIFE or $AGE - this time I am using i3d to make a thick smoke trail from a missile. Is there a way to colorize or apply opacity to the smoke based on its age/life? As far as I know, the POP/particle info is lost once it's converted to i3d...

What I'm wanting to do is have the smoke gradually dissipate by becoming more transparent over time, but not universally. Actually I just thought of a possible solution - using a ramp for the density on the texfog shader may do the trick. The ramp may work in theory, but I don't know how to implement it at this time.

Any thoughts?

Link to comment
Share on other sites

Welcome to the forum,

have a look at this post it should point you in the right direction:

http://forums.odforce.net/index.php?showto...3235&hl=i3d

I'm pretty sure that someone has already posted an i3d shader that writes out color

(and a coresponding fog shader that reads it)

If you search the forum you should be able to find it.

Luca

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