summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl b/indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl
new file mode 100644
index 0000000000..acb3014d18
--- /dev/null
+++ b/indra/newview/app_settings/shaders/class1/deferred/luminanceF.glsl
@@ -0,0 +1,15 @@
+/**
+ * @file luminanceF.glsl
+ *
+ * $LicenseInfo:firstyear=2007&license=viewerlgpl$
+ * $/LicenseInfo$
+ */
+
+uniform sampler2DRect diffuseMap;
+
+varying vec2 vary_fragcoord;
+
+void main()
+{
+ gl_FragColor = texture2DRect(diffuseMap, vary_fragcoord.xy);
+}