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
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 20H4a2 2 0 0 1-2-2V6c0-1.11.89-2 2-2h6l2 2h7c1.097 0 2 .903 2 2H4v10l2.14-8h17.07l-2.28 8.5c-.23.87-1.01 1.5-1.93 1.5z" fill="#63c0ff"/>
<path d="m 15.279441,17.986619 h -1.738972 l -3.271402,-3.331366 3.271402,-3.331364 h 1.738972 l 0.872819,-1.5057789 4.523995,-1.1593138 1.245929,4.4906807 -0.872817,1.505776 0.872817,1.505779 -1.245929,4.490679 -4.523995,-1.159315 -0.872819,-1.505777 m 0.09329,-0.166568 3.417983,0.919456 -1.97217,-3.417981 h -3.944336 l 2.498523,2.498525 m 4.577297,0.253184 0.919457,-3.417982 -0.919457,-3.417981 -1.97883,3.417981 1.97883,3.417982 m -4.577297,-6.582779 -2.498523,2.498524 h 3.944336 l 1.97217,-3.417981 z" fill="#1976d2" /></svg>
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment