Free Hands On Shaders and Effects in Unity tutorial, You do not need to use different languages for different platforms; Unity compiles your HLSL and ShaderLab code into different languages for different graphics APIs. For more information, see Shader compilation. Note .