Material Database

View Source

<?xml version="1.0" encoding="utf-8"?>

<scenedata>
	<material>
		<name>GlassOpa1</name>
		<phong>
			<exponent>250</exponent>
			<diffuse_albedo_spectrum>
				<rgb>
					<rgb>0.8 0.8 0.8</rgb>
					<gamma>2.2</gamma>
				</rgb>
			</diffuse_albedo_spectrum>
			<ior>1.54</ior>
		</phong>
	</material>

	<material>
		<name>GlassOpa2</name>
		<diffuse_transmitter>
			<albedo_spectrum>
				<rgb>
					<rgb>0.8 0.8 0.8</rgb>
					<gamma>2.2</gamma>
				</rgb>
			</albedo_spectrum>
		</diffuse_transmitter>
	</material>

	<material>
		<name>GlassTrans</name>
		<blend>
			<a_name>GlassOpa1</a_name>
			<b_name>GlassOpa2</b_name>
			<blend_factor>0.646334</blend_factor>
			<step_blend>false</step_blend>
		</blend>
	</material>

	<medium>
		<name>GlassOpaque</name>
		<precedence>8</precedence>
		<basic>
			<ior>1.54</ior>
			<cauchy_b_coeff>0</cauchy_b_coeff>
			<absorption_coefficient_spectrum>
				<rgb>
					<rgb>0 0 0</rgb>
					<gamma>2.2</gamma>
				</rgb>
			</absorption_coefficient_spectrum>
		</basic>
	</medium>
	<material>
		<name>GlassOpaque</name>
		<specular>
			<transparent>true</transparent>
			<internal_medium_name>GlassOpaque</internal_medium_name>
		</specular>
	</material>

	<material>
		<name>EtchedGlass</name>
		<blend>
			<a_name>GlassTrans</a_name>
			<b_name>GlassOpaque</b_name>
			<blend_factor>0.5</blend_factor>
			<step_blend>false</step_blend>
			<blend_map>
				<path>blackrose_pattern.jpg</path>
				<uv_set>UVTex</uv_set>
				<exponent>2.200000</exponent>
				<a>0</a>
				<b>1</b>
				<c>0</c>
			</blend_map>
		</blend>
	</material>

</scenedata>

-->