Parent Directory | Revision Log | 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 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |