Changeset 1582


Ignore:
Timestamp:
Jul 5, 2012, 11:47:53 PM (11 years ago)
Author:
sam
Message:

neercs: do not ignore alpha in the simple shader.

File:
1 edited

Legend:

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

    r1456 r1582  
    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
    1111-- GLSL.Frag --
     
    1616
    1717void main(void)
    18         {
    19         gl_FragColor=vec4(texture2D(texture,gl_TexCoord[0].xy).xyz,1.0);
    20         }
     18{
     19    gl_FragColor = texture2D(texture, gl_TexCoord[0].xy);
     20}
     21
Note: See TracChangeset for help on using the changeset viewer.