GlobalSettings {
	frameWidth	640
	frameHeight	480
	ambientLight	( 0.28, 0.3, 0.35 )
	wantAA	true
	wantPrepass	true
	aaThresh	0.22
	maxReflectionLevel	5
	maxRefractionLevel	5
	GLOSSINESS_SAMPLES	35
	CHECK_SAMPLES	8
	GLOSSY_THRESHOLD	35
}

CubemapEnvironment environment {
	posx	"..\..\fmiray\data\posx.bmp"
	negx	"..\..\fmiray\data\negx.bmp"
	posy	"..\..\fmiray\data\posy.bmp"
	negy	"..\..\fmiray\data\negy.bmp"
	posz	"..\..\fmiray\data\posz.bmp"
	negz	"..\..\fmiray\data\negz.bmp"
}

Camera camera {
	pos	( 157.091426115222, -14.5, 22.0363440297853 )
	yaw	0.429350995990605
	pitch	0.478220215046446
	roll	0
	aspectRatio	1.333
	fov	90
}

PointLight {
	color ( 10000, 10000, 10000 )
	pos ( 157.091426115222, -14.5, 22.0363440297853 )
}

Mesh Object0 {
	isSmooth	true
	useKDTree	true
	file	..\..\..\..\..\..\..\1.obj
}

Sphere Object1 {
	pos	( 0, 0, 0 )
	R	10
}

Fresnel fresnel {
	ior	1.5
}

Reflection refl {
	glossiness	1
}

Refraction refr {
	ior	1.5
}

Flat flat {
	color	( 0.5, 0.5, 0.5 )
}

Layered glass {
	layer	flat ( 1, 1, 1 )
	layer	refr ( 0.8, 0.8, 0.8 )
	layer	refl ( 0, 0, 0 ) fresnel
}

Node Node0 {
	geometry Object0
	shader glass
	translate	( 0, 0, 0 )
	rotate	( 0, 0, 0 )
	scale	( 20, 20, -20 )
}

