-
Notifications
You must be signed in to change notification settings - Fork 8
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
gl-shader compiling error #3
Comments
gl-shader error stacktrace
|
maybe related: voxel/voxel-shader#11 gl-shader: Error compling vertex shader: ERROR: 0:18: '=' : global variable initializers must be constant expressions |
@petuhovskiy I saw slightly different errors:
but they were preceded by another error which caused them, and quickly scrolled past the console output, but fixing this error fixed my errors at least: voxel/voxel-shader#11 gl-shader: Error compling vertex shader: ERROR: 0:18: '=' : global variable initializers must be constant expressions can you check if http://deathcap.github.io/voxel-example/ (now updated with this fix) reproduces your original errors? If not, will need to test Chrome on Windows, there might be some other incompatibilities, the "ERROR 0:12: '=' : cannot convert from 'const float' to 'highp 4X4 matrix of float'" is suspicious.. |
Tested Google Chrome 47 on Windows 7 in VMware Fusion, voxel-engine-stackgl 1.0.1 works for me - pretty sure this was fixed by voxel/voxel-shader#11: |
Hello! I'm trying to use the following code,
But I get an error in console when try to run it. What am I doing wrong? (I use Chrome on Windows)
The text was updated successfully, but these errors were encountered: