-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLSL viewer suddenly not loading #45
Comments
Does this happen for any shader for you? If not, can you produce a minimum working example. |
This is also happening to me. Any shader has the same output. Even a dummy:
Produce the same result as @ianacaburian was posting. I am on Mac, Code version 1.32 |
I have the same symptoms. I am on Mac0S Mojave 10.14.4 / VSCode 1.33 |
Ubuntu Linux / VSCode 1.33 - the same. |
This is a bummer. Presumably the last version, which did some major refactoring introduced a bug. I will invest some time looking at some Linux I have available to see what's happening. Unfortunately I don't have any access to a Mac so that's a bit difficult for me to fix, we can only hope that the issues on Linux are the same as the Mac ones 😅 |
I think the issue is only a path issue that we didn't handle correctly. If you have a chance to test #46 it would be greatly appreciated. I tested on Ubuntu 18.10, though didn't have WebGL available. But it seemed the core issue, which was that the WebView wasn't able to load resources, is fixed at least on Linux systems, presumably also on MacOS. |
@ianacaburian This change is now live, let us know if it is fixed now or not. |
Hey guys, I tested the new version 0.82 and still had the same problem. So I thought I'll try updating VS Code. It was already up to date but it gave me a message "Unable to perform update on read-only volume." My app was still located in a folder other than Applications. After moving VS Code to Applications, the extension works fine now. So a bit inconclusive as to whether the new commits fixed anything but there you go. |
Interesting 😄 |
@Malacath-92, thanks! Shader works now, but textures don't load, and there is no warnings.
and .vscode/settings.json with {
"shader-toy.textures": {
"0": "file://./texture.png",
}
} |
It looks like I have some commits that didn't make it into the PR and should fix this. I'll make a new PR as soon as I get home. |
@Malacath-92, textures work in 0.8.3 now. Thanks! |
Hey there, see image below. This happens after trying to open the GLSL viewer on a file that has worked previously. As you can see there is no error log displayed as usual - only grey boxes. Not sure what else to try or where to go from here. Thanks in advance for the help.
The text was updated successfully, but these errors were encountered: