- Home /
Fade billboard particles close to Camera in VR
I've been digging into documentation and this seems to be possible in Unreal engine but not Unity.
I am trying to fade billboards coming from an particle emmiter when they approach your face in VR, particles constantly attacking your face without this... how might one do this?
Shader that throttles the transparency when close to a certain Vector3?
developing for SteamVR / Vive
Using Unity 2017.1.1f
Answer by ifurkend · Sep 28, 2017 at 10:09 PM
Standard Particle Shader scheduled for Unity 2017.3 has this function.
https://forum.unity.com/threads/feedback-standard-particle-shader-version-f4-20170710.482532/
Ifurkend... thanks a bunch! That shader works great... unity should definitely should make that native soon.
Answer by FortisVenaliter · Sep 28, 2017 at 08:52 PM
I don't think Unity has anything for this built-in, but there are two things you can try:
In the last section of the Particle System settings, it has a setting for maximum particle size. You can use that to force it to scale down as it approaches the player.
You can write a custom particle shader that adds forced transparency when the view depth is low enough.
Your answer
Follow this Question
Related Questions
How can I play a sound every time a particle is emitted? 3 Answers
How to adjust particle system (or Dust Storm if possible) properties from script? 1 Answer
turning particle systems off 2 Answers
VR: Possible to render a multiple mesh/material model transparent without seeing innards? 0 Answers
How to create 3D particle effect? 1 Answer