mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 13:46:37 +00:00
12 lines
269 B
GLSL
12 lines
269 B
GLSL
varying vec4 position;
|
|
varying vec3 normals;
|
|
varying mat4 TBN;
|
|
uniform sampler2D tDiffuse;
|
|
|
|
void main( void )
|
|
{
|
|
gl_FragData[0] = vec4(texture2D(tDiffuse,gl_TexCoord[0].st).rgb, 0);
|
|
gl_FragData[1] = vec4(position.xyz,0);
|
|
gl_FragData[2] = vec4(normals.xyz,0);
|
|
}
|