* Arranged to avoid reading/writing textures at same time. * Removed depth and stencil buffers from FBO's. * Eliminated 1-component FBO that caused grief for FBO completeness test. * Added back missing cubeShaderNoTexture.vert
13 lines
207 B
GLSL
13 lines
207 B
GLSL
|
|
/*
|
|
Use this for rendering the little cubes when
|
|
there is no vertex shader texture support.
|
|
*/
|
|
|
|
void main()
|
|
{
|
|
gl_FrontColor = gl_Color ;
|
|
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex ;
|
|
}
|
|
|