Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Galitan-dev/6220c555ff86321a00fddb7aee6628bb to your computer and use it in GitHub Desktop.
Save Galitan-dev/6220c555ff86321a00fddb7aee6628bb to your computer and use it in GitHub Desktop.
[Material Icons] Shader icons (from shaderlab)

[Material Icons] Shader icons (from shaderlab)

Icons

Shaderlab File Icon Shaderlab Folder Icon Shaderlab Open Folder Icon

Visual Studio Code

⚠️ Need Material Icons Extensions

1 - Download the Icons

2 - Move the icons in the Material Icons Folder. For Unix Users:

 $ mv ~/Downloads/shaderlab*.svg ~/.vscode/extensions/pkief.material-icon-theme-*.*.*/icons`

3 - Open your User Settings (Tip: Settings >> Extensions >> Matterial Icons >> Files: Associations >> Edit in setting.json)

4 - Insert this snippet

{
  "..."
  "material-icon-theme.files.associations": {
    "*.wgsl": "shaderlab"
  },
  "material-icon-theme.folders.associations": {
    "shaders": "shaderlab"
  }
  "..."
}

5 - And you are done ! (Reload Window if it does not update)

Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9.961 17h-2.61l-4.91-5 4.91-5h2.61l1.31-2.26L18.061 3l1.87 6.74-1.31 2.26 1.31 2.26-1.87 6.74-6.79-1.74L9.961 17m.14-.25 5.13 1.38-2.96-5.13h-5.92l3.75 3.75m6.87.38 1.38-5.13-1.38-5.13-2.97 5.13 2.97 5.13m-6.87-9.88L6.351 11h5.92l2.96-5.13z" fill="#1976d2"/></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment