Ignore:
Timestamp:
Jun 16, 2012, 5:16:54 PM (9 years ago)
Author:
sam
Message:

neercs: font blitting is now pixel perfect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/neercs/video/text.lolfx

    r1477 r1483  
    99varying vec4 pass_Background;
    1010varying vec2 pass_UV;
     11
     12uniform mat4 in_Transform;
    1113
    1214void main()
     
    3234    //gl_PointSize = 40;
    3335
    34     gl_Position = vec4(in_Position, 0.0, 1.0);
     36    gl_Position = in_Transform * vec4(in_Position, 0.0, 1.0);
    3537}
    3638
Note: See TracChangeset for help on using the changeset viewer.