surface KTleafS ( float octaves=8,lambda=2; float scale=50,distorscale=0; float Ka=0.5,Kd=0.8,Ks=0.5,roughness=0.1,Kdback=0.8; float leafCenter=0.02,leafW=0.005,leafH=0.3; color cs1=color(0.36,0.5,0.35),cs2=color(0.956,0.947,0.63),cs3=color(0.70,0.698,0.49); color KScs=color(1,1,1) ) { point Nf,V,PP; float i,value,freq; float judgeW,judge; float opas,opat,opa; float KD,KDback; color cs; KD=Kd; KDback=Kdback; judgeW=mod(s,leafCenter); if (judgeW>(leafCenter/2)) { judgeW=leafCenter-judgeW; } if (judgeW