/usr/share/aqsis/examples/features/multipass/myval.sl is in aqsis-examples 1.6.0-8ubuntu1.
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 | surface myval (float Ka = 1;
float Kd = 1;
output varying float myval = 0; )
{
myval = random();
point Nf = faceforward (normalize(N),I);
Oi = Os;
Ci = Os * Cs * (Ka * ambient() + Kd * diffuse(Nf));
}
|