#version 330
#extension GL_ARB_explicit_attrib_location : require

uniform sampler2D textureImage;
uniform mat4 viewMatrix;

smooth in vec2 tcoord;
smooth in vec3 linearMappingCoord;

layout(location = 0) out vec4 outputColor;
layout(location = 1) out vec3 outputLinearMapping;

void main() {
   outputColor = texture(textureImage, tcoord);
   outputLinearMapping = linearMappingCoord;
}