Search Unity

Question Shader disappears at certain distance

Discussion in 'General Graphics' started by Richard_Roth, May 16, 2023.

  1. Richard_Roth

    Richard_Roth

    Joined:
    Dec 29, 2014
    Posts:
    64
    I'm creating a space game with vast distances between planets and I've got an issue with one planet shader.

    I'm using the Forge3d planets package and the shader seems to disappear after a certain distances as evidenced in the video link.


    Things I've tried:
    1. There are other planets/objects in scene with different shaders that all don't have this issue.
    2. It's not a camera distance culling issue.
    3. It's not a mesh issue.
    4. Applying shader to other planets that work end with the same result.

    I have a suspicion that it's some form of shader graph optimisation, but I'm not a shader guy so I have no idea how to fix it.

    Any advice would be greatly appreciated.
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,059
    Contact the creator of the package.
    You aren't allowed to share the shader graph, so we cannot help much. This seems to be more intense than a mipmap issue, so probably something in the graph or with the settings relevant to the setup