I've been working with ogl-es for the past 4 months. I just switched from the 1.1 driver to the 2.0 driver. The 1.1 driver was becoming slow on my PC, not sure why.
I changed the shader path from "../../media/Shaders" to "data/shaders" in the irrlicht config header. The new path corresponds to the location of irrlicht's shaders in my game.
The shaders appear to load properly, but the fixed function shaders (and others but im only using fixed function) have a lot of "unable to find uniform" errors.
Code: Select all
Irrlicht Engine version 1.8.0-alpha
Microsoft Windows Vista Home Premium Edition (Build 6000)
EglDisplay initialized. Egl version 1.3
Got 1 configs.
Creating EglSurface with nativeWindow...
SUCCESS
SUCCESS
Creating EglContext...
Using renderer: OpenGL ES 2.0 ( SDK build: 2.06.26.0641 )
OpenGL_ES
Imagination Technologies (Host GL: `ATI Technologies Inc.`)
GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_query_matrix GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_IMG_read_format GL_OES_point_sprite GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_blend_substract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_vertex_half_float GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_stencil8 GL_OES_fragment_precision_high GL_OES_element_index_uint GL_IMG_texture_compression_pvrtc GL_OES_mapbuffer GL_EXT_multi_draw_arrays
Loading shader: data/shaders/COGLES2FixedPipeline.vsh
Loading shader: data/shaders/COGLES2FixedPipeline.fsh
Success.
Unable to find uniform : uUseLight
Unable to find uniform : uLightPosition
Unable to find uniform : uLightAmbient
Unable to find uniform : uLightDiffuse
Unable to find uniform : uLightSpecular
Unable to find uniform : uLightDirection
Unable to find uniform : uLightAttenuation
Unable to find uniform : uLightExponent
Unable to find uniform : uLightCutoff
Unable to find uniform : uMaterialSpecular
Unable to find uniform : uUseTexture
Unable to find uniform : uTextureMatrix
Unable to find uniform : uUseTexMatrix
Any help would be greatly appreciated.
Thanks!