Search Unity

Semantic Segmentation

Discussion in 'General Graphics' started by econt, Jul 11, 2019.

  1. econt

    econt

    Joined:
    Apr 8, 2019
    Posts:
    52
    Hi,

    I am trying to find a solution to reach an visual effect called sematic segmentation. - Which is used in Simulation. - Each type of Object (cars, pedastrians, lanes, etc.) are coloured with a flat collor (no shading etc.). - What tool (maybe shadergraph) and what shader could be used to reach such effect?
    example image for Semantic Segmentation:
    https://blogs.unity3d.com/2018/01/23/designing-safer-cities-through-simulations/

    Thanks in advance!
     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,638
    What you are describing is just a simple "unlit" shader. Unity has built-in unlit shaders for the regular renderer. If you are using LWRP or HDRP I'm not sure, but if it's not there, a single-color unlit shader should be the easiest shader that you could possibly make.