~registry/dolphin-emu/triforce

« back to all changes in this revision

Viewing changes to Data/Sys/Shaders/nightvision.glsl

  • Committer: Sérgio Benjamim
  • Date: 2015-02-13 05:54:40 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20150213055440-ey2rt3sjpy27km78
Dolphin Triforce branch from code.google, commit b957980 (4.0-315).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
uniform sampler2D samp9;
 
2
 
 
3
out vec4 ocol0;
 
4
in vec2 uv0;
 
5
 
 
6
void main()
 
7
{
 
8
  float4 c0 = texture(samp9, uv0).rgba;
 
9
  float green = c0.g;
 
10
 
 
11
  if (c0.g < 0.50)
 
12
  {
 
13
    green = c0.r + c0.b;
 
14
  }
 
15
 
 
16
  ocol0 = float4(0.0, green, 0.0, 1.0);
 
17
}
 
 
b'\\ No newline at end of file'