-
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
can't run glslify example #175
Comments
Did you enable the glslify option in the settings? |
Sorry. I just enabled it. However, I got a different error:
|
That sounds like perhaps you didn't install the noise module? |
I took a closer look at this just now and it seems that glslify uses the working directory as the root for finding modules, which is the folder where the extension is installed, so that's gonna do no good. Idk when that changed, but I'm pretty sure it worked once in the past. Either way I'll fix that. |
Fixed it, if a folder is open it will use that as a base directory, otherwise the folder that the file being rendered is in. That fix will be part of the next release. |
Most examples in the demos directory run smoothly without any issue. However, the glslify.glsl example:
The noise function in the above code gives error:
'snoise' : no matching overloaded function found
I checked the glslify package was installed in the node_modules folder.
The text was updated successfully, but these errors were encountered: