/usr/share/aqsis/shaders/imager/iramp.sl is in aqsis 1.8.1-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | imager iramp(
color earth = color (0.0, 0.4, 0.1),
skycolor = color(0.6,0.6,1.0);
)
{
float lenx, leny;
float resolution[3];
option("Format", resolution);
lenx = xcomp(P) / resolution[0];
leny = ycomp(P) / resolution[1];
Ci += (1-Oi) * mix(skycolor, earth, leny);
Oi = 1.0;
}
|