Ignore:
Timestamp:
Aug 14, 2012, 9:23:42 AM (8 years ago)
Author:
sam
Message:

tutorial: minor tweaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/08_fbo.lolfx

    r1735 r1737  
    3434        float tc = 0.0, ta = 0.0;
    3535        {
    36             float s = 4.0 + 3.0 * in_Point.z;
     36            float s = 6.0 + 3.0 * in_Point.z;
    3737            vec2 p = pass_Position - in_Point.xy * 0.8;
    3838            float t = clamp(1.2 - dot(s * p, s * p), 0.0, 1.0);
    39             float u = t * t;
     39            float u = t * t * t * t;
    4040            tc += 3.0 * t * t - 2.0 * t * t * t;
    4141            ta += 3.0 * u * u - 2.0 * u * u * u;
Note: See TracChangeset for help on using the changeset viewer.