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,7 @@ uniform sampler2D diffuseTexture;
void main()
{
gl_FragColor = texture2D(diffuseTexture, textureCoordinate);
lowp vec4 font_color = texture2D(diffuseTexture, textureCoordinate);
gl_FragColor = vec4(font_color.r, font_color.g, font_color.b, font_color.r + 0.50);
// gl_FragColor = vec4(textureCoordinate.s, textureCoordinate.t, 0.0, 1.0);
}