Tagged Questions
3
votes
2answers
331 views
What is UVIndex and how do I use it on OpenGL?
I am a noob in OpenGL ES 2.0 (for WebGL) and I'm trying to draw a simple model I've made with a 3D tool and exported to .fbx format. I've been able to draw some models that only have: A vertex buffer, ...
5
votes
2answers
1k views
Why must the transpose value of glUniformMatrix4fv in webgl/OpenGL ES be false?
Why must the transpose value of glUniformMatrix4fv in webgl/OpenGL ES be false?
The OpenGL ES spec says that the transpose value must be false or an INVALID_VALUE is generated. Why then have the ...
3
votes
1answer
2k views
How to create a perspective field of view matrix?
Hey, hello. I am learning a little of WebGL (OpenGL ES 2.0) through the http://learningwebgl.com tutorials, but it uses a third party library to create the View, Projection and transformation matrices ...
7
votes
2answers
1k views
Missing features from WebGL and OpenGL ES
I've started using WebGL and am pleased with how easy it is to leverage my OpenGL (and by extension OpenGL ES) experience. However, my understanding is as follows:
OpenGL ES is a subset of OpenGL
...
4
votes
1answer
2k views
Rendering 2d sprites into a 3d world?
In opengl how do I render 2d sprites in opengl given that I have a png of the sprite? See images as an example of the effect I'd like to achieve. Also I would like to overlay weapons on the screen ...