Home > Materials > Metals > Brushed aluminium > View Source

View Source

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

<scenedata>
	<material>
		<name>aluminium_brushed</name>
		<phong>
			<exponent>
				<constant>25000</constant>
			</exponent>
			<ior>1.60838</ior>
			<nk_data>nkdata\al.nk</nk_data>
			<diffuse_albedo>
				<constant><rgb>
					<rgb>0.8 0.8 0.8</rgb>
					<gamma>2.2</gamma>
				</rgb></constant>
			</diffuse_albedo>
			<bump>
				<shader>
					<shader>
						<![CDATA[
					def eval() real :
						fbm(dot(getTexCoords(0)*1000.0, vec2(0.0, clamp(noise(getTexCoords(0)), 1.0, 5.0))), 4)*0.0003
						]]>
					</shader>
				</shader>
			</bump>
		</phong>
	</material>

</scenedata>