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. Dismiss Notice

URP Hybrid renderer V2 material issues

Discussion in 'Entity Component System' started by ElegantMetal, Nov 1, 2021.

  1. ElegantMetal

    ElegantMetal

    Joined:
    Oct 17, 2015
    Posts:
    11
    I'm attempting to create entities of prefab billboards, but have gotten some strange results: HybridECS Example.PNG. It's almost as if everything is drawing on top of each other? It's kind of hard to see but there is a model that is being covered up by the colors of the billboard that is right in front of the camera. I shouldn't be able to see him at all, but his model comes through the billboard and is colored. This effect applies to all other objects too.

    Here's my material that's on all of these billboards: HybridECS Material Example.PNG

    As far as components on the entities, I'm just adding a scale component on top of converting the prefabs into entities using GameObjectConversionUtility.

    Thanks so much for any help, and please just let me know if I left any needed info out
     

    Attached Files:

  2. ElegantMetal

    ElegantMetal

    Joined:
    Oct 17, 2015
    Posts:
    11
    For anybody else that runs into this problem, switching my surface type to Opaque on my material seems to have done the trick. I needed to use an alpha channel, so to use this on the opaque settings I turned on Alpha Clipping, and just set the threshold to .5
     
    Last edited: Nov 2, 2021
    bb8_1 likes this.