- Home /
How to get red underlines for bad syntax and code suggestions for hlsl code in Unity?
I just started with shader coding in unity and I am trying to figure out how to get similar features to what we get in C# (if I type gibberish in C# it underlines in red, if I start typing a variable in C# it gives me suggestions to fill it in quickly). How do you get a system that can do this for hlsl code?
I am clumsy and often do stupid stuff while coding and forget to declare things or spell variables wrong the second time around. It would save a lot of time if I had a way to catch simple errors without the back and forth between visual studio and Unity.
Thank you in advance!
Your answer

Follow this Question
Related Questions
How can I add Color property To This Shader 1 Answer
weird values from UnityWorldSpaceLightDir 0 Answers
how to debug shader on android 0 Answers
Porting from ShaderToy(GLSL) to shaderlab(HLSL/CG) unity not giving me the desired result. 2 Answers
Generate mesh from shader for Skybox (withouth the MeshRender workaround) 0 Answers