• 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 Erans2 · May 26, 2020 at 03:34 PM · particlesflickeringvisual-effects

VFX Graph particles flickering in Alpha Blend Mode

Hi ! Does anyone know how to fix this ? Basically, the particles of the VFX Graph work just as expected until using the Alpha Blend Mode in the Output Particle Quad. That's when the particles start flickering like in this video. It is working just fine when using Opaque or Additive Blend Mode.

I tried removing each and every other blocks but it's still flickering. Removing the Set Angle block reduced most of the flickering (only a few particles still flickering), but it's still quite noticeable.

Also, I tried reinstalling HDRP, and I am using Unity 2019.3.13f1 (which I updated a few weeks ago).

I also get these errors, I don't know if it's related :

Could not extract GUID in text file Assets/VFXDefaultResources.asset at line 17. UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Could not extract GUID in text file Assets/VFXDefaultResources.asset at line 19. UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Broken text PPtr. GUID 00000000000000000000000000000000 fileID 11700000 is invalid! UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Thank you for your help :) !

https://youtu.be/xI5GlrDCmYM!

vfxgraph-flickering.png (40.0 kB)
Comment
Add comment · Show 1
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 JonPQ · May 26, 2020 at 05:46 PM 0
Share

btw, your video gets 404 error

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by BotsOP · Feb 07 at 01:40 PM

Click on your output particle node then go to the inspector look for sort under particle options and turn it off.inspector


screenshot-1.png (57.8 kB)
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
avatar image
0

Answer by JonPQ · May 26, 2020 at 04:17 PM

particles rendered additively, look pretty much the same regardless of the order you draw them in, as 2 particles would both add color to existing screen color, ending up with the same end result, However with blended mode the end result is different depending on rendering order. So you have to make sure that the particles are either separated enough in Z-space that they won't keep swapping z position, or that the particles are sorted ( adding performance overhead for sorting ) Check here for detail on changing shader graph sorting. https://forum.unity.com/threads/shader-graph-shaders-and-particle-sorting-fudge.746822/

For regular particle system there are also options for particle sorting on the Renderer. But just be aware of extra performance cost. Note:.. the sorting is within that particle-system, and it won't sort between different particle systems. So if you have 2 different particle systems at roughly the same Z position you might get whole particle systems flickering behind each other... keep them separate in Z. use the sorting fudge or layering to draw certain particle systems later.

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
avatar image
0

Answer by Erans2 · May 26, 2020 at 04:55 PM

Thank you for your answer @JonPQ! I don't think there is a way to use a shader on a VFX Graph particle, is there ? I'll try to find a way to seperate them.

Comment
Add comment · Show 4 · 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 JonPQ · May 26, 2020 at 05:56 PM 0
Share

I mean you can change render type, alpha / additive etc... I'm not sure if they do any sorting though... in vfx graph... I would guess not. So if you can get away with additive. that might hide the sorting flickering. I'm still not quite sure of your flickering issue as the video you linked gets 404 error

avatar image Erans2 · May 26, 2020 at 06:06 PM 0
Share

@JonPQ The video had a problem uploading for some reason but here it is : https://www.youtube.com/watch?v=xI5GlrDCmY$$anonymous$$ Using the blend mode Additive does fix the problem but it's not like alpha... I'm trying to make grass, that's why I want to use the alpha.

avatar image JonPQ Erans2 · May 26, 2020 at 07:58 PM 0
Share

saw the video, tthanks. hat does look pretty strange, looks like flickering between 2 different positions, or drawing and not drawing on alternate frames..., but additive mode fixed things.? hmmm do you have back-face culling options ? if so, try turning that off.

avatar image Erans2 JonPQ · May 27, 2020 at 01:56 PM 0
Share

I don't know if I have back face culling turned on, can you tell me where the option is ?

avatar image
0

Answer by dyfer · Aug 13, 2020 at 07:47 AM

A page is open for voting on unity issue tracking if you want this bug fix : https://issuetracker.unity3d.com/issues/gpu-sorting-outputs-flicker-when-setting-alive-selectively-and-sorting-is-on

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

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

VFX Particle strip causes crash 2 Answers

Why don't soft particles work when using render objects feature? 0 Answers

How to morph shapes in Visual Effects Graph 1 Answer

How to create this specific VFX ? (Railgun "muzzle flash/plume" from The Expanse series) 1 Answer

[VFX GRAPH] Add segments to particle strip 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