39 |
|
double srcsizerat = 0.; /* maximum ratio source size/dist. */ |
40 |
|
|
41 |
|
COLOR cextinction = BLKCOLOR; /* global extinction coefficient */ |
42 |
< |
double salbedo = 0.; /* global scattering albedo */ |
42 |
> |
COLOR salbedo = BLKCOLOR; /* global scattering albedo */ |
43 |
|
double seccg = 0.; /* global scattering eccentricity */ |
44 |
|
double ssampdist = 0.; /* scatter sampling distance */ |
45 |
|
|
52 |
|
double minweight = 1e-2; /* minimum ray weight */ |
53 |
|
|
54 |
|
COLOR ambval = BLKCOLOR; /* ambient value */ |
55 |
+ |
int ambvwt = 0; /* initial weight for ambient value */ |
56 |
|
double ambacc = 0.2; /* ambient accuracy */ |
57 |
|
int ambres = 8; /* ambient resolution */ |
58 |
|
int ambdiv = 32; /* ambient divisions */ |