Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Volumetric lines

Discussion in 'Editor & General Support' started by j00hi, May 9, 2013.

  1. StephenPearson171

    StephenPearson171

    Joined:
    Dec 21, 2017
    Posts:
    1
    Hi J00hi,

    I'm having a little trouble modifying the line color in real time. I would like the line to dull over time but I've tried to adjust the script to change the material color during update but it looses the fuzzy edges and becomes a solid block.
    Please advise,

    Thanks,
    Stephen
     
  2. j00hi

    j00hi

    Joined:
    Nov 18, 2012
    Posts:
    72
    Hello Stephen,

    How exactly are you changing the color?
    Are you using the public Color LineColor property of VolumetricLineBehavior?
    Can you post screenshots of the undesired effects and which LineColor you have set that result in those undesired effects?
     
  3. jpmorlen

    jpmorlen

    Joined:
    Mar 12, 2021
    Posts:
    1
    I am using this in a VR game and when built, the line only renders to the left eye of the headset. It's invisible from the "Game" view, but visible from the "Scene" view. I am using Windows MR on an HP Reverb. How do I get the object to render in both eyes?
     
  4. j00hi

    j00hi

    Joined:
    Nov 18, 2012
    Posts:
    72
    There has been a fix that added support for the "Single Pass Stereo" VR mode recently (on Feb 1, 2021): https://github.com/johannesugb/VolumetricLinesUnity/commit/f6569bcc0847c2cdc2cbba4605c461629bcce7ca

    It should also be included in the asset on the asset store. Are you using the latest version? You could also try the version from GitHub and see if that makes a difference.
    Are you using the "Single Pass Stereo" VR rendering mode?