Changeset 1737 for trunk/tutorial/08_fbo.lolfx
- Timestamp:
- Aug 14, 2012, 9:23:42 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tutorial/08_fbo.lolfx
r1735 r1737 34 34 float tc = 0.0, ta = 0.0; 35 35 { 36 float s = 4.0 + 3.0 * in_Point.z;36 float s = 6.0 + 3.0 * in_Point.z; 37 37 vec2 p = pass_Position - in_Point.xy * 0.8; 38 38 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; 40 40 tc += 3.0 * t * t - 2.0 * t * t * t; 41 41 ta += 3.0 * u * u - 2.0 * u * u * u;
Note: See TracChangeset
for help on using the changeset viewer.