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:
    10
    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!
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    7,160
    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.
     
    ConfusedCactus likes this.
  3. ConfusedCactus

    ConfusedCactus

    Joined:
    Jul 3, 2018
    Posts:
    10
    Thanks! :D