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

[Unity 2018 3.5f1] Shader scripts syntax does not highlight in Visual Studio

Discussion in 'Shaders' started by ConfusedCactus, Sep 12, 2019.

  1. ConfusedCactus

    ConfusedCactus

    Joined:
    Jul 3, 2018
    Posts:
    19
    Hi, I just started to mess around with shaders. All my .shader files are classified under miscellaneous files and syntax specific to shader won't highlight at all...

    Anyone know how to solve this? Many thanks!
     
    hopetolive likes this.
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,238
    By default Visual Studio doesn’t have syntax highlighting for Unity’s shaders. Search for “Unity Shaderlab syntax highlighting” and install one of the options.
     
    hopetolive and ConfusedCactus like this.
  3. ConfusedCactus

    ConfusedCactus

    Joined:
    Jul 3, 2018
    Posts:
    19
    Thanks! :D
     
    hopetolive likes this.