source: trunk/tools/neercs/video/remanency.lolfx @ 1905

Last change on this file since 1905 was 1905, checked in by lolbot, 8 years ago

fixed 14 files out of 2200:

  • removed 0 CR characters
  • removed 12 trailing whitespaces
  • replaced 245 tabs with spaces
File size: 352 bytes
RevLine 
[1638]1-- GLSL.Vert --
2
3#version 120
4
5void main()
[1905]6    {
7    gl_Position=gl_Vertex;
8    gl_TexCoord[0]=gl_MultiTexCoord0;
9    }
[1638]10
11-- GLSL.Frag --
12
13#version 120
14
[1672]15uniform sampler2D source;
16uniform sampler2D buffer;
17uniform vec2 mix;
[1638]18
19void main(void)
[1905]20    {
21    gl_FragColor=texture2D(source,gl_TexCoord[0].xy)*mix.x+texture2D(buffer,gl_TexCoord[0].xy)*mix.y;
22    }
Note: See TracBrowser for help on using the repository browser.