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/simple.lolfx

    r1905 r1928  
    1 -- GLSL.Vert --
     1[vert.glsl]
    22
    33#version 120
    44
    55void main()
    6     {
     6{
    77    gl_Position = gl_Vertex;
    88    gl_TexCoord[0] = gl_MultiTexCoord0;
    9     }
     9}
    1010
    11 -- GLSL.Frag --
     11[frag.glsl]
    1212
    1313#version 120
     
    1616
    1717void main(void)
    18     {
     18{
    1919    gl_FragColor = texture2D(texture, gl_TexCoord[0].xy);
    20     }
     20}
     21
Note: See TracChangeset for help on using the changeset viewer.