%PDF- %PDF-
Direktori : /var/www/html/hr/api/vendor/scrivo/highlight.php/test/detect/rsl/ |
Current File : /var/www/html/hr/api/vendor/scrivo/highlight.php/test/detect/rsl/default.txt |
#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; }