在 VsCode 中为 GLSL Lint 设置 GLSLValidatorPath (Windows)

问题描述 投票:0回答:1

我安装了 GLSL Lint 扩展,它告诉我安装 OpenGL 和 OpenGL ES 着色器验证器,我照做了。 我在设置中设置了路径,尽管没有警告或通知,但我的 .frag 文件上没有任何 linting。

This is where I saved the glslang I then added the Path in settings but it does not seem to be working 有人可以帮助我吗?

visual-studio-code glsl
1个回答
0
投票

检查 GLSL Lint 配置: 确保您已正确配置 GLSL Lint 扩展。转到您的 Visual Studio Code 设置 (settings.json) 并确认着色器验证器的路径设置正确如果它不适合您,请告诉我

© www.soinside.com 2019 - 2024. All rights reserved.