<?xml version="1.0" encoding="utf-8"?>
<scenedata>
	<material>
		<name>wood_3d_01_draft</name>
		<phong>
		<shared_shader_info>
				<param>
					<real>
						<name>Scale</name>
						<description></description>
						<min>-0</min>
						<max>50</max>
						<value>10</value>
					</real>
				</param>
				<param>
					<real>
						<name>PosY</name>
						<description></description>
						<min>-10</min>
						<max>10</max>
						<value>-0.4</value>
					</real>
				</param>
				<param>
					<real>
						<name>PosX</name>
						<description></description>
						<min>-10</min>
						<max>10</max>
						<value>-0</value>
					</real>
				</param>
				<param>
					<real>
						<name>Age</name>
						<description></description>
						<min>1</min>
						<max>100</max>
						<value>25.3</value>
					</real>
				</param>
				<shader><![CDATA[]]></shader>
		</shared_shader_info>
			<diffuse_albedo>
				<shader>
						<shader><![CDATA[
#
def stretchedCylindricalFunction() real :
	dist(
		posOS() * paramScale(),
		vec3(
			paramPosX(),
			paramPosY(),
			posOS().z * paramScale()))

def Aging() real:
	smoothstep(0.0, 1.0,fract(stretchedCylindricalFunction() * paramAge()))
#
def stries3d(vec3 pos) vec3 :

let

ratio = 8.0
scale = 4.0
noheez = 16.0

in

lerp(#	vec3(0.0),	vec3(1.0),
	vec3(0.55, 0.438, 0.248),vec3(0.747, 0.63, 0.454),
Aging()

)

#
def eval(vec3 pos) vec3 :
	(stries3d(posOS())
)
#	*	(1.0 / 3.0)

]]></shader>
				</shader>
			</diffuse_albedo>
			<exponent>
					<constant>80</constant>
			</exponent>
			<bump>
				<shader>
						<param>
							<real>
								<name>Strength</name>
								<description></description>
								<min>-0</min>
								<max>1</max>
								<value>0.01</value>
							</real>
						</param>
						<shader><![CDATA[
#
def stretchedCylindricalFunction() real :
	dist(
		posOS() * paramScale(),
		vec3(
			paramPosX(),
			paramPosY(),
			posOS().z * paramScale()))

def Aging() real:
	smoothstep(0.0, 1.0,fract(stretchedCylindricalFunction() * paramAge()))
#
def stries3d(vec3 pos) vec3 :

let

ratio = 8.0
scale = 4.0
noheez = 16.0

in

lerp(#	vec3(0.0),	vec3(1.0),
	vec3(0.55, 0.438, 0.248),vec3(0.747, 0.63, 0.454),
Aging()

)

#
def eval() real :
	Aging() * recip(paramScale()) * paramStrength()

]]></shader>
				</shader>
			</bump>
			<displacement>
				<shader>
						<param>
							<real>
								<name>Strength</name>
								<description></description>
								<min>-0</min>
								<max>1</max>
								<value>0.01</value>
							</real>
						</param>
						<shader><![CDATA[
#
def stretchedCylindricalFunction() real :
	dist(
		posOS() * paramScale(),
		vec3(
			paramPosX(),
			paramPosY(),
			posOS().z * paramScale()))

def Aging() real:
	smoothstep(0.0, 1.0,fract(stretchedCylindricalFunction() * paramAge()))
#
def stries3d(vec3 pos) vec3 :

let

ratio = 8.0
scale = 4.0
noheez = 16.0

in

lerp(#	vec3(0.0),	vec3(1.0),
	vec3(0.55, 0.438, 0.248),vec3(0.747, 0.63, 0.454),
Aging()

)

#
def eval() real :
	Aging() * recip(paramScale()) * paramStrength()

]]></shader>
				</shader>
			</displacement>
			<fresnel_scale>
					<constant>1</constant>
			</fresnel_scale>
			<layer>0</layer>
			<ior>1.18</ior>
			<nk_data></nk_data>
		</phong>
	</material>
</scenedata>
