Ignore:
Timestamp:
Sep 20, 2012, 12:23:59 AM (8 years ago)
Author:
sam
Message:

lolfx: use square brackets to indicate shader sections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/neercs/video/remanency.lolfx

    r1905 r1928  
    1 -- GLSL.Vert --
     1[vert.glsl]
    22
    33#version 120
    44
    55void main()
    6     {
    7     gl_Position=gl_Vertex;
    8     gl_TexCoord[0]=gl_MultiTexCoord0;
    9     }
     6{
     7    gl_Position = gl_Vertex;
     8    gl_TexCoord[0] = gl_MultiTexCoord0;
     9}
    1010
    11 -- GLSL.Frag --
     11[frag.glsl]
    1212
    1313#version 120
     
    1818
    1919void main(void)
    20     {
    21     gl_FragColor=texture2D(source,gl_TexCoord[0].xy)*mix.x+texture2D(buffer,gl_TexCoord[0].xy)*mix.y;
    22     }
     20{
     21    gl_FragColor = texture2D(source,gl_TexCoord[0].xy)*mix.x+texture2D(buffer,gl_TexCoord[0].xy)*mix.y;
     22}
     23
Note: See TracChangeset for help on using the changeset viewer.