update inbox list
This commit is contained in:
15
vendor/scrivo/highlight.php/test/detect/rsl/default.txt
vendored
Normal file
15
vendor/scrivo/highlight.php/test/detect/rsl/default.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#define TEST_DEFINE 3.14
|
||||
/* plastic surface shader
|
||||
*
|
||||
* Pixie is:
|
||||
* (c) Copyright 1999-2003 Okan Arikan. All rights reserved.
|
||||
*/
|
||||
|
||||
surface plastic (float Ka = 1, Kd = 0.5, Ks = 0.5, roughness = 0.1;
|
||||
color specularcolor = 1;) {
|
||||
normal Nf = faceforward (normalize(N),I);
|
||||
Ci = Cs * (Ka*ambient() + Kd*diffuse(Nf)) + specularcolor * Ks *
|
||||
specular(Nf,-normalize(I),roughness);
|
||||
Oi = Os;
|
||||
Ci *= Oi;
|
||||
}
|
||||
Reference in New Issue
Block a user