Search Unity

[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,352
    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.