13 lines
183 B
GLSL
13 lines
183 B
GLSL
#version 330 compatibility
|
|
|
|
in vec4 inVar;
|
|
out vec4 outVar;
|
|
|
|
varying vec4 varyingVar;
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = varyingVar;
|
|
gl_FragData[1] = inVar * gl_ModelViewMatrix;
|
|
}
|