Ignore:
Timestamp:
Oct 29, 2012, 2:06:50 PM (10 years ago)
Author:
Jnat
Message:

nice holes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/04_texture.lolfx

    r2001 r2050  
    1010{
    1111    pass_Position = vec4(0.5 * in_Position + 0.5, 0.0, 1.0);
    12     gl_Position = vec4(in_Position, 0.0, 1.0);
     12    gl_Position = vec4(in_Position, 0.5, 1.0);
    1313}
    1414
     
    4141            gl_FragColor = vec4(0.4, t.y, val, 1.0);
    4242    }
    43     else if (t.y > c0.x - 0.02)
     43    else if (t.y > c0.x - 0.03)
    4444    {
    4545        /* Grass */
Note: See TracChangeset for help on using the changeset viewer.