GLSL errors
BlitzMax Forums/OpenGL Module/GLSL errors
| ||
I am using shader code based on this: http://blitzmax.com/Community/posts.php?topic=53895#602026 When I compile, I get these errors in the debug log: Compiled: FragmentShader.glsl successfuly in 111ms Compiled: FragmentShader.glsl successfuly in 8ms Failed to link VertexShader FragmentShader.glsl Vertex info ----------- <stdlib>(9793) : error C5052: gl_FragColor is not accessible in this profile 101 Failed to link FragShader 'FragmentShader.glsl' Vertex info ----------- (4) : warning C7050: "vNormal.xy" might be used before being initialized (3) : warning C7050: "vPosition" might be used before being initialized (0) : error C6014: Required output 'HPOS' not written Error getting Uniform Var Location 'color' in Method setUF4 Process complete I can run the original example without a problem. Any ideas? |
| ||
Ah, I see. Both shaders are required. |