#version 120

// Attributes.
attribute vec2 attr_position;
attribute vec2 attr_texture_position;
attribute float attr_brightness;

uniform float u_z_value;

// Outputs.
varying vec2 out_texture_position;
varying float out_brightness;

void main() {
	out_texture_position = attr_texture_position;
	out_brightness = attr_brightness;
	gl_Position = vec4(attr_position, u_z_value, 1.);
}
