begla/Blockmania — Issue #52: GLSL chunk_vert.glsl shader broken
Author: postspectacular
Created: 2011-12-02 16:51:05+00:00
State: open

Just downloaded the latest build and tried running (it does), but that shader seems to have some issues and the entire landscape is just rendered in plain white...

Dec 2, 2011 4:34:55 PM com.github.begla.blockmania.rendering.manager.ShaderManager createShader
INFO: Loading shader chunk (chunk_vert.glsl, type = 35633)
Dec 2, 2011 4:34:55 PM com.github.begla.blockmania.rendering.manager.ShaderManager printLogInfo
INFO: ERROR: 0:11: 'array of 4-component vector of float' : constructor not supported for type
ERROR: 0:17: 'array of 4-component vector of float' : no matching overloaded function found
ERROR: 0:11: 'const' : non-matching types for const initializer
ERROR: 0:31: 'x' : field selection requires structure or vector on left hand side
ERROR: 0:31: 'y' : field selection requires structure or vector on left hand side
ERROR: 0:31: 'z' : field selection requires structure or vector on left hand side
ERROR: 0:31: 'w' : field selection requires structure or vector on left hand side
ERROR: 0:32: 'w' : field selection requires structure or vector on left hand side

System: OSX 10.6.8, MacBook Pro, i7, NVIDIA GeForce GT 330M

I remember there're some issues with const arrays and NVidia drivers, but don't have any details at hand...