1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/** * @file luminanceF.glsl * * Copyright (c) 2007-$CurrentYear$, Linden Research, Inc. * $License$ */ uniform sampler2DRect diffuseMap; varying vec2 vary_fragcoord; void main() { gl_FragColor = texture2DRect(diffuseMap, vary_fragcoord.xy); }