#version 150 in vec4 vertPosition; in vec4 vertColor; out vec4 fragColor; void main() { fragColor = vertColor * exp(-0.125 * vertPosition.z); }