Jump to content

Animated materials on growing instanced geo?


Recommended Posts

Is it possible to have animated materials on my instanced geo?

 

I have growing strawberrys and i would like to change the shader as they grow larger.

 

I noticed you can control the blend between colors with the vertex color option but i couldn't figure out how to apply this to my strawberry shader?

 

If this is possible it would be usefull but ideally i would like to have full control over the blend, ie. using noise maps to control tranistion between shaders and so on.

 

At the moment i just animated the material on my strawberry master but obviously they all change at the same time.

 

Thanks for any suggestions

 

Sam

Link to comment
Share on other sites

Hi Sam,

 

Your task is very interesting, but for this we need to create an affect to the current time of the material (when rendering). At the moment GrowFX doesn't allow this.

I think we should try to develop their own material plugin, which will allow change the current time, providing the material of different ages.

 

Cheers

Link to comment
Share on other sites

ok, I just tested this and it worked for me, hopefully it helps.

 

I made a material with a mix map in the diffuse then animated the mix percentage. After that I made a sphere and applied the material to it. then I created a grow fx object and used the sphere as an instance. Then I checked generate multisub in the grow fx instance geometry dialog and it worked. The only drawback would be that the growth of the growfx object wouldn't affect the material change so I guess you would just have to syncronize manually, however, if growth of the plant can affect the vertex color slider then you could use a mix map with a vertex color map for the mix amount, not sure about that though. I dont have 1.8 on my home machine.

 

good luck :)

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.

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.

Loading...
×
×
  • Create New...