材質圖檔:PT_002.GIF 材質內容:水晶材質
說明:此材質定義部份,因水晶比沒有像
水或玻璃那麼地透明,所以transparent
透明度略小於100%,然後加上一點反
光,specular約10%;折射比玻璃略高
(玻璃ior值約1.3左右),加上shine值,
使之看起來很平滑。如果再加上不同
的顏色,就可以產生不同顏色的水晶
,如紫水晶,綠水晶...等。
//==========================================================
// A seriously exciting image of glass --- pt_002.b.
// neutral base
surf { diff .75 .7 .95 }
ring { center 0 0 0 normal 0 0 1 radius 100 }
// crystal
surf {
transparent .98 .98 .98
specular .1 .1 .1
ior 1.6
shine 100 white
}
// pattern sample
#include cone.bo
#include block.bo
#include pole.bo
//========================================================