ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/view.C
(Generate patch)

Comparing libgender/view.C (file contents):
Revision 1.70 by root, Thu Nov 4 03:58:32 2004 UTC vs.
Revision 1.71 by root, Thu Nov 4 04:46:58 2004 UTC

298shader::temp_3f linear_light::operator ()() 298shader::temp_3f linear_light::operator ()()
299{ 299{
300 using namespace shader::compile; 300 using namespace shader::compile;
301 301
302 temp_3f res; 302 temp_3f res;
303 res = float3 (c.r / 255.F, c.g / 255.F, c.b / 255.F) * intensity * camdist; 303 res = float3 (c.r / 255.F, c.g / 255.F, c.b / 255.F) * (min (intensity * camdist * 0.6F + 0.9F, 1.F));
304 304
305 return res; 305 return res;
306} 306}
307 307
308 308

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines