Material Database

View Source

<?xml version="1.0"?>
<scenedata>
	<material>
		<name>Clay</name>
		<oren_nayar>
			<albedo>
				<constant>
					<rgb>
						<rgb>0.420004577707 0.389425497826 0.323399710079</rgb>
						<gamma>2.2</gamma>
					</rgb>
				</constant>
			</albedo>
			<sigma>
				<constant>1</constant>
			</sigma>
			<bump>
				<shader>
					<shader><![CDATA[def eval() real : 
fbm(getTexCoords(0)*30.0, 2)*0.0001]]></shader>
				</shader>
			</bump>
			<layer>0</layer>
		</oren_nayar>
	</material>
	<material>
		<name>Glaze</name>
		<phong>
			<texture>
				<path>Grunge Blend.jpg</path>
				<a>0</a>
				<b>1</b>
				<c>0</c>
				<uv_set_index>0</uv_set_index>
				<exponent>2.2</exponent>
				<tex_coord_generation>
					<uv>
						<matrix>1 0 0 1</matrix>
						<translation>0 0</translation>
					</uv>
				</tex_coord_generation>
				<smooth>false</smooth>
			</texture>
			<diffuse_albedo>
				<constant>
					<rgb>
						<rgb>0.202487220569 0.26999313344 0.205920500496</rgb>
						<gamma>2.2</gamma>
					</rgb>
				</constant>
			</diffuse_albedo>
			<exponent>
				<constant>5000</constant>
			</exponent>
			<bump>
				<shader>
					<shader><![CDATA[def eval() real : 
fbm(getTexCoords(0)*20.0, 2)*0.0002]]></shader>
				</shader>
			</bump>
			<fresnel_scale>
				<texture>
					<texture_index>0</texture_index>
				</texture>
			</fresnel_scale>
			<layer>0</layer>
			<ior>1.8</ior>
			<nk_data />
		</phong>
	</material>
	<material>
		<name>Blend01</name>
		<blend>
			<texture>
				<path>PACKED_1_Grunge Blend.jpg</path>
				<a>1</a>
				<b>1</b>
				<c>-0.1</c>
				<uv_set_index>0</uv_set_index>
				<exponent>2.2</exponent>
				<tex_coord_generation>
					<uv>
						<matrix>0.6 0 0 0.6</matrix>
						<translation>0 0</translation>
					</uv>
				</tex_coord_generation>
				<smooth>false</smooth>
			</texture>
			<a_name>Clay</a_name>
			<b_name>Glaze</b_name>
			<blend>
				<texture>
					<texture_index>0</texture_index>
				</texture>
			</blend>
			<step_blend>true</step_blend>
		</blend>
	</material>
	<material>
		<name>Dirt</name>
		<diffuse>
			<albedo>
				<constant>
					<rgb>
						<rgb>0.127992675669 0.2 0.137102311742</rgb>
						<gamma>2.2</gamma>
					</rgb>
				</constant>
			</albedo>
			<random_triangle_colours>false</random_triangle_colours>
			<layer>0</layer>
		</diffuse>
	</material>
	<material>
		<name>Blend02</name>
		<blend>
			<texture>
				<path>cracks.jpg</path>
				<a>0</a>
				<b>-1</b>
				<c>1</c>
				<uv_set_index>0</uv_set_index>
				<exponent>1</exponent>
				<tex_coord_generation>
					<uv>
						<matrix>4 0 0 4</matrix>
						<translation>0 0</translation>
					</uv>
				</tex_coord_generation>
				<smooth>false</smooth>
			</texture>
			<a_name>Blend01</a_name>
			<b_name>Dirt</b_name>
			<blend>
				<texture>
					<texture_index>0</texture_index>
				</texture>
			</blend>
			<step_blend>false</step_blend>
		</blend>
	</material>
</scenedata>

-->