Profiler / Debug visualizations in progress

Implemented support for dynamic VBO's (used by text rendering system)
This commit is contained in:
2013-03-21 13:21:04 -07:00
parent 40adbcd7fc
commit 9e7a79ac9c
21 changed files with 258 additions and 73 deletions

View File

@@ -31,5 +31,6 @@ uniform sampler2D diffuseTexture;
void main()
{
gl_FragColor = texture2D(diffuseTexture, textureCoordinate);
vec4 font_color = texture2D(diffuseTexture, textureCoordinate);
gl_FragColor = vec4(font_color.r, font_color.g, font_color.b, font_color.r + 0.50);
}

View File

@@ -33,6 +33,6 @@ uniform highp mat4 mvp_matrix; // mvp_matrix is the result of multiplying t
void main()
{
gl_Position = mvp_matrix * vertex_position;
gl_Position = /*mvp_matrix * */vertex_position;
textureCoordinate = vertex_uv.xy;
}