// Copyright (C) Kimmo Lahtinen - All Rights Reserved

// Input from vertex shader
varying float frag_depth;

void main(void) 
{
	// One channel RT (r)
	gl_FragColor.r = frag_depth;
	gl_FragColor.g = 0.0;
	gl_FragColor.b = 0.0;
	gl_FragColor.a = 0.0;
}
