New answers tagged opengl-es
Im not entirely sure about this myself, but maybe your problem is that you dont have one. From the looks of it, your skybox is rotating correctly. Question now: I see you are initializing and uploading the view-matrix correctly, but what about the projection-matrix, i dont see that one. My guess is that your code is alright so far, but since you havent ...
Full explanation: OpenGL's (and GLES') default behavior is to modulate the currently set color with the texture with a simple multiplication. That is, it multiplies the color with the value at the texture. The default color is white. White is defined as <1.0f, 1.0f, 1.0f, 1.0f>. One times anything is itself, so modulating white with the texture color ...
If you upload VBOs with many identical cubes inside of them you will just waste bus bandwidth. The keyword you should search for is "instanced rendering". There are many questions about it on here.
Before all I can defenetly say , that disabling ZBuffer is bad idea due perfomance issues, and it looks like for me it is issue. 1) try enable Zbuffer!! 2) check your model,view and project matrices
Top 50 recent answers are included