OpenShadingLanguage 1.00
# Compiled by oslc 1.3.0
shader node_velvet_bsdf
param	color	Color	0.80000001 0.80000001 0.80000001 		 %read{6,6} %write{2147483647,-1}
param	float	Sigma	0 		 %read{3,3} %write{2147483647,-1}
param	normal	Normal	0 0 0 		 %read{1,5} %write{0,0}
oparam	closure color	BSDF			 %read{2147483647,-1} %write{1,6}
global	normal	N	 %read{0,0} %write{2147483647,-1}
local	float	sigma	 %read{5,5} %write{4,4}
const	string	$const1	"diffuse"		 %read{1,1} %write{2147483647,-1}
const	float	$const2	0		 %read{4,4} %write{2147483647,-1}
const	float	$const3	1		 %read{3,3} %write{2147483647,-1}
const	string	$const4	"clamp"		 %read{2,2} %write{2147483647,-1}
temp	float	$tmp1	 %read{4,4} %write{3,3}
temp	closure color	$tmp2	 %read{6,6} %write{5,5}
const	string	$const5	"ashikhmin_velvet"		 %read{5,5} %write{2147483647,-1}
code Normal
# D:\\blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\node_velvet_bsdf.osl:26
# 	output closure color BSDF = diffuse(Normal))
	assign		Normal N 	%filename{"D:\\blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\node_velvet_bsdf.osl"} %line{26} %argrw{"wr"}
code BSDF
# D:\\blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\node_velvet_bsdf.osl:27
# {
	closure		BSDF $const1 Normal 	%filename{"D:\\blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\node_velvet_bsdf.osl"} %line{27} %argrw{"wrr"}
code ___main___
# D:\\blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\node_velvet_bsdf.osl:29
# 
	functioncall	$const4 5 	%filename{"D:\\blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\node_velvet_bsdf.osl"} %line{29} %argrw{"r"}
# D:/blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\stdosl.h:142
# float hypot (float a, float b) { return sqrt (a*a + b*b); }
	min		$tmp1 Sigma $const3 	%filename{"D:/blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\stdosl.h"} %line{142} %argrw{"wrr"}
	max		sigma $tmp1 $const2 	%argrw{"wrr"}
# D:\\blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\node_velvet_bsdf.osl:31
# }
	closure		$tmp2 $const5 Normal sigma 	%filename{"D:\\blender_dev\\code\\265a\\intern\\cycles\\kernel\\shaders\\node_velvet_bsdf.osl"} %line{31} %argrw{"wrrr"}
	mul		BSDF $tmp2 Color 	%argrw{"wrr"}
	end
