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

Question What are some extensions for Unity shader Intellisence (VSCode)?

Discussion in 'Shaders' started by cashman91431, Oct 9, 2023.

  1. cashman91431

    cashman91431

    Joined:
    Aug 21, 2022
    Posts:
    16
    Hey! I am rocking a 2022.3.8f1 version of unity, latest (as of 10/9/2023) version of VSCode. I am working on a Space Game with realistic physics, and that is indeed a lot of calculations. I have recently learned about Compute shaders, that can split work into chunks and those get proccesed by the GPU. Yielding better results for big scale algorythms and simulations.
    So i decided to give it a shot. Soon I found the lack of support for such things. The best results I got were when I installed the "Shader languages support for VS Code" (https://marketplace.visualstudio.com/items?itemName=slevesque.shader) and the "HLSL Tools" (https://marketplace.visualstudio.com/items?itemName=TimGJones.hlsltools), and modified the settings.json, adding theese lines to specify to use hlsl highlights for .shader, .compute and .raytrace:

    "files.associations": {
    "*.shader" : "hlsl",
    "*.compute" : "hlsl",
    "*.raytrace" : "hlsl"
    }


    I belive my setup can be improved, so that's why I came here. Thanks in advance for useful response