Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by dissidently · Dec 24, 2010 at 06:03 AM · particlesmaterialschange

Possible to change material as particles are emitted, so each particle has different material?

is this possible and how?

1st Particle has material A 2nd Particle has material B 3rd Particle has material C 4th Particle has material A ....

5th Particle goes back to material A 6th Particle goes back to material B

etc etc...

I do mean materials, not textures.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Eric5h5 · Dec 24, 2010 at 07:08 AM

No, a particle system uses the same material for all particles. It would be too slow otherwise.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dissidently · Dec 24, 2010 at 08:18 AM 0
Share

So the feature that allows me to set "Size" of the materials array for the particle renderer ONLY allows for ALL those materials to display at once on each particle? Not to cycle through them?

avatar image Eric5h5 · Dec 24, 2010 at 03:06 PM 1
Share

Correct. A particle system is a single mesh, so whatever applies to one particle applies to them all.

avatar image dissidently · Dec 24, 2010 at 06:37 PM 0
Share

DOH! that's a bummer.

avatar image
1

Answer by femi · Dec 26, 2010 at 02:53 PM

You could have several particle systems with different materials / parameters under a single parent node. Such system could be made to appear as a single particle system with different sorts of particles.

On the other hand, this answer: http://answers.unity3d.com/questions/32087/how-can-i-emit-particles-with-different-textures-on-them suggests you could have several materials in the array of the particle renderer. I haven't tried this yet though.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dissidently · Dec 27, 2010 at 08:27 AM 0
Share

what do you mean by node? An empty game object with multiple particle systems attached to it?

avatar image femi · Dec 27, 2010 at 08:37 AM 0
Share

Sorry, yes, I meant GameObject. You will have a parent GameObject to position your "compound particle system" and several child GameObjects with Particle Systems with different settings (including materials) attached to it. I have such construct here: http://vimeo.com/18146747 each building is made of at least two particle systems - one with billboard particles and one with stretched (which show up only when the camera is moving

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

changing the color of particles using the legacy particle animator? 2 Answers

How do i change default material ? 1 Answer

Colors does not aplying to particle system with mesh render mode + material with standard shader. 2 Answers

Changing Material between multiple ones 2 Answers

Scaling of instantiated ParticleSystem 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges