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
3
Question by havoc eyes · Nov 12, 2013 at 10:23 AM · shaderparticlesblendingadditive

Particle effects against light backgrounds

Hi. I just want to ask about using particle effects with additive blending. For example, on dark backgrounds an explosion effect looks normal, but if it's against a blue sky all the particles turn white. Is there anyway to have it look like it does on the dark background (in unity free)?

alt text

alt text

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
8

Answer by Bart_Tamarin · Nov 13, 2013 at 01:12 AM

You have to realise that additive blending "adds" the pixel values that overlap. Black is zero, white is 1, so the the yellow flame gets added to the value of the blue background....that seemingly results in a value of 1 (white). Against the black background it adds the value of 0, so it stays unchanged.

If you use the multiply blend shader, the black background multiplies the value of 0, so everything turns black. White would multiply the value of 1, so that color retains it's own value.

If you want to retain the original colors the additive blending won't help you - you should use the Alpha Blend. Perhaps it has a performance hit compared to the other two, since it uses the alpha channel. So alpha blending doesn't create a nice overlaying effect when particles overlap. That's because nothing gets added or multiplied.

Does that answer your question ? If not, please let me know!

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 shahrukh_hp1 · Jun 11, 2017 at 06:08 AM 0
Share

thanks that worked

avatar image goutham12 shahrukh_hp1 · Feb 26, 2018 at 06:16 AM 0
Share

Works too good. am here to share my experience. if in case any one having black background on your particles by changing shader to Alpha Blend it's your texture. change your texture to transparency.

avatar image
1

Answer by Owen-Reynolds · Nov 12, 2013 at 05:24 PM

In the Material for the particle, just change the shader to any in the Particle family that looks good (probably one that blends.)

Additive means what it says -- adds the particle colors to what's there. For fire, blue is the worst background. Yellow is R and G, adding to B gives the all-white you're seeing. I haven't found a use for the Additive particle shader (maybe a magical ghostly fog?)

The dark background isn't a Unify-Free thing. You can change background colors in either.

Comment
Add comment · 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

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

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Undesrtand particles default shader 1 Answer

additive particle shader 2 Answers

Additive shader that gets lit? 0 Answers

Mobile/Particles/Additive Shader not showing in Android 1 Answer

Iphone - Blend two textures + Additive blending 3 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