/[libvob]/libvob/vob/demo/fpfont.py
ViewVC logotype

Diff of /libvob/vob/demo/fpfont.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tjl, Fri Apr 11 20:41:24 2003 UTC revision 1.5 by tjl, Tue Apr 15 13:54:20 2003 UTC
# Line 139  void main( Line 139  void main(
139      dists *= 16;      dists *= 16;
140    
141    
142      fixed c = dot(dists <= maxrad, fixed4(1,1,1,1)) / 4;      fixed c = dot(1-smoothstep(float4(0,0,0,0), maxrad, dists), fixed4(1,1,1,1)) / 4;
143    
144      fixed rgb = (1 - c);      fixed rgb = (1 - c);
145    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26