You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://waffle.io/Strum355/vscode-mc-shader) -->
9
9
10
-
VSCode-MC-Shader is a [Visual Studio Code](https://code.visualstudio.com/) extension for developing Minecraft GLSL Shaders for [Optifine](http://optifine.net). It currently provides linting and syntax highlighting (by stef-levesque/vscode-shader dependency).
10
+
VSCode-mc-shader is a [Visual Studio Code](https://code.visualstudio.com/) extension for developing Minecraft GLSL Shaders for [Optifine](http://optifine.net). It currently provides linting and syntax highlighting (by stef-levesque/vscode-shader dependency).
@@ -16,23 +16,22 @@ VSCode-MC-Shader is a [Visual Studio Code](https://code.visualstudio.com/) exten
16
16
- Linting
17
17
- Syntax highlighting (by extension dependency)
18
18
- Support for `#include` directives
19
-
- Auto-complete prompts (incomplete)
19
+
- Auto-complete prompts (incomplete and rough)
20
20
21
-
## Planned
21
+
## Installation (assumes installing from VSCode extension tab)
22
22
23
-
- Multi-workspaces (currently only one is supported and using multiple is very undefined behaviour)
24
-
- Warnings for unused uniforms/varyings
25
-
- Some cool `DRAWBUFFERS` stuff
26
-
27
-
Got a feature request? Chuck it into an Issue!
23
+
- After reloading, open a shaderpack's folder.
24
+
- You should be prompted to set your shaderpacks folder e.g. `"mcglsl.shaderpacksPath": "C:/Users/Noah/AppData/Roaming/.minecraft/shaderpacks"`
25
+
- You should then be prompted saying `glslangValidator` isn't installed. Hit the download button and wait for a notification saying that it's been installed.
26
+
- You should now be good to go!
28
27
29
28
## Requirements
30
29
31
-
- Visual Studio Code (v1.17.0 or higher - minimum requirement untested)
30
+
- Visual Studio Code (v1.23.0 or higher - minimum requirement untested).
32
31
- The [Shader languages support for VS Code](https://marketplace.visualstudio.com/items?itemName=slevesque.shader) extension. This should automatically install when you install this extension.
33
32
- That the shader(s) you're editing are in the `shaderpacks` folder in `.minecraft`.
34
-
-The [OpenGL / OpenGL ES Reference Compiler](https://github.com/KhronosGroup/glslang) (for convenience, put it in your PATH, this is the assumed location if not specified). If, for some reason, you're using MacOS, there are no pre-compiled binaries of this.
35
-
-[MacOS] Not MacOS. Not that you're making MC Shaders on/for MacOS anyways...right?
33
+
-That you've only one shader folder open. Multiple workspaces aren't currently supported.
34
+
-The [OpenGL / OpenGL ES Reference Compiler](https://github.com/KhronosGroup/glslang). The extension will give you an option to download it and update your settings automatically.
36
35
37
36
## Extension Settings
38
37
@@ -45,14 +44,22 @@ Got a feature request? Chuck it into an Issue!
45
44
46
45
Please see [CONTRIBUTING.md](https://github.com/Strum355/vscode-mc-shader/blob/master/CONTRIBUTING.md).
47
46
47
+
## Planned
48
+
49
+
- Multi-workspaces (currently only one is supported and using multiple is very undefined behaviour)
50
+
- Warnings for unused uniforms/varyings
51
+
- Some cool `DRAWBUFFERS` stuff
52
+
53
+
Got a feature request? Chuck it into an Issue!
54
+
48
55
## Known Issues
49
56
50
-
I'll fill this in once this actually gets released.
57
+
Check the issues on Github [here](https://github.com/Strum355/vscode-mc-shader/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug).
This code is released under the MIT License. Copyright (c) 2018 Noah Santschi-Cooney
65
+
This code is released under the [MIT License](https://github.com/Strum355/vscode-mc-shader/blob/master/LICENSE). Copyright (c) 2018 Noah Santschi-Cooney
connection.window.showInformationMessage('glslangValidator has been downloaded to '+conf.shaderpacksPath+'/glslangValidator. Your config should be updated automatically.')
connection.window.showInformationMessage('glslangValidator has been downloaded to '+conf.shaderpacksPath+'/glslangValidator. Your config should be updated automatically.')
0 commit comments