OpenShadingLanguage 1.01
# Compiled by oslc 1.6.2
surface defaultsurface	%meta{string,help,"Simple orientation shader with no lights required"} 
param	float	Ka	0.2		%meta{string,help,"Non-directional brightness"} %meta{float,min,0} %meta{float,max,1}  %read{5,5} %write{2147483647,-1}
param	float	Kd	0.80000001		%meta{string,help,"Directional brightness"} %meta{float,min,0} %meta{float,max,1}  %read{3,3} %write{2147483647,-1}
global	vector	I	%read{0,0} %write{2147483647,-1}
global	normal	N	%read{1,1} %write{2147483647,-1}
global	color	C	%read{6,7} %write{6,7}
global	color	opacity	%read{7,7} %write{2147483647,-1}
local	float	d	%read{3,4} %write{2,2}
temp	vector	$tmp1	%read{2,2} %write{0,0}
temp	normal	$tmp2	%read{2,2} %write{1,1}
temp	float	$tmp3	%read{4,4} %write{3,3}
temp	float	$tmp4	%read{5,5} %write{4,4}
temp	float	$tmp5	%read{6,6} %write{5,5}
code ___main___
# D:\\xrt.git\\src\\osl\\shaders\\defaultsurface.osl:62
# 
	normalize	$tmp1 I 	%filename{"D:\\xrt.git\\src\\osl\\shaders\\defaultsurface.osl"} %line{62} %argrw{"wr"}
	normalize	$tmp2 N 	%argrw{"wr"}
	dot		d $tmp1 $tmp2 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\defaultsurface.osl:66
# 
	mul		$tmp3 Kd d 	%line{66} %argrw{"wrr"}
	mul		$tmp4 $tmp3 d 	%argrw{"wrr"}
	add		$tmp5 Ka $tmp4 	%argrw{"wrr"}
	mul		C C $tmp5 	%argrw{"wrr"}
# D:\\xrt.git\\src\\osl\\shaders\\defaultsurface.osl:69
# }
	mul		C C opacity 	%line{69} %argrw{"wrr"}
	end
