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.

Question What language unity uses for shaders

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

  1. VictorKs

    VictorKs

    Joined:
    Jun 2, 2013
    Posts:
    218
    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,399
    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.