Search Unity

Soft Particle not working

Discussion in 'Shaders' started by Geoege, Feb 23, 2019.

  1. Geoege

    Geoege

    Joined:
    Nov 18, 2013
    Posts:
    2
    I can't get Soft Particles to work, it's activated in the project settings.
    Any idea ?
    Here is a screen :
    Capture.PNG
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,348
    It needs to be enabled in the quality settings too.
     
  3. virtualproz

    virtualproz

    Joined:
    Aug 9, 2017
    Posts:
    2
    it works on quality setting "Very High" and above
     
  4. Rispat-Momit

    Rispat-Momit

    Joined:
    Feb 14, 2013
    Posts:
    266
    I have an issue where soft particles work in the editor but not on my built :( Any help? upload_2023-11-21_12-35-23.png
     
  5. Radivarig

    Radivarig

    Joined:
    May 15, 2013
    Posts:
    121
    Doesn't work in orthographic, which hurts my feelings.
     
    Rispat-Momit likes this.
  6. Rispat-Momit

    Rispat-Momit

    Joined:
    Feb 14, 2013
    Posts:
    266
    That's because they are using the Scene Depth to work. But in the Orthographic view there is no scene depth. An alternative is to use a very low Field Of View in your camera and move it far away :) This will create the impression of an orthographic view and you can use the Scene Depth functionality
     
  7. Radivarig

    Radivarig

    Joined:
    May 15, 2013
    Posts:
    121
    Thanks for your reply!

    I cannot use perspective with low fov since I need each object to be of precisely equal size on screen regardless of distance for my UPixelator to completely remove pixel creep on movement.

    Also orthographic depth does exists and can be sampled from _CameraDepthTexture and I'm using it already for edge detection.

    The only difference I know (aside VR stuff) is that perspective uses logarithmic depth to have better accuracy closer to camera while orthographic uses linear, better explained in this post.
     
    Rispat-Momit likes this.
  8. Radivarig

    Radivarig

    Joined:
    May 15, 2013
    Posts:
    121
    Actually soft particles do work with orthographic in Unity 2022.3 URP 14!
     
    Rispat-Momit likes this.