Search Unity

Question What language unity uses for shaders

Discussion in 'Shaders' started by VictorKs, Nov 25, 2022.

  1. VictorKs

    VictorKs

    Joined:
    Jun 2, 2013
    Posts:
    242
    What language unity uses for shaders and how can i translate this to actual hlsl? In the docs it says dx9 style hlsl, so is this true and can we use dx11 features and language style
     
  2. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,550
    It uses HLSL and supports most DX11 features. DX9 is not supported as a target anymore even.
    Shaders are wrapped in a ShaderLab material translation layer.
     
    VictorKs likes this.