narann avatar narann committed 91774e8

[fix] prob with two mi files

Comments (0)

Files changed (3)

release/include/deeX_Buffers_pass.mi

-#****************************************************************************
-# Based on p_shaders from Pavel Ledin (aka Puppet) puppet@rambler.ru
-# Author:	BATAILLE Damien deex@deex.info
-# Created:	09.05.10
-# Module:	deex_Buffers_pass
-# Purpose:	.mi declarations for deex_Buffers_pass, deeX_Buffer_writter
-# Version:	2.00
-#****************************************************************************
-
-$ifndef "deeX_Buffers_pass_mi_included"
-set "deeX_Buffers_pass_mi_included" "true"
-
-declare shader
-		color				#: shortname "oc"
-	"deeX_Buffer_writter" (
-		color "render",			#: shortname "re"
-		boolean "use_SpecialC1",		#: shortname "efb0"
-		color "out_specialC1",		#: shortname "fb0"
-		boolean "use_SpecialC2",		#: shortname "efb1"
-		color "out_specialC2",		#: shortname "fb1"
-		boolean "use_SpecialC3",		#: shortname "efb2"
-		color "out_specialC3",		#: shortname "fb2"
-		boolean "use_SpecialC4",		#: shortname "efb3"
-		color "out_specialC4",		#: shortname "fb3"
-		boolean "use_SpecialC5",		#: shortname "efb4"
-		color "out_specialC5",		#: shortname "fb4"
-		boolean "use_SpecialC6",		#: shortname "efb5"
-		color "out_specialC6",		#: shortname "fb5"
-		boolean "use_SpecialC7",		#: shortname "efb6"
-		color "out_specialC7",		#: shortname "fb6"
-		boolean "use_SpecialC8",		#: shortname "efb7"
-		color "out_specialC8",		#: shortname "fb7"
-		boolean "use_SpecialC9",		#: shortname "efb8"
-		color "out_specialC9",		#: shortname "fb8"
-		boolean "use_SpecialC10",		#: shortname "efb9"
-		color "out_specialC10",		#: shortname "fb9"
-		boolean "use_SpecialC11",		#: shortname "efb10"
-		color "out_specialC11",		#: shortname "fb10"
-		boolean "use_SpecialC12",		#: shortname "efb11"
-		color "out_specialC12",		#: shortname "fb11"
-		boolean "use_SpecialC13",		#: shortname "efb12"
-		color "out_specialC13",		#: shortname "fb12"
-		boolean "use_SpecialC14",		#: shortname "efb13"
-		color "out_specialC14",		#: shortname "fb13"
-		boolean "use_SpecialC15",		#: shortname "efb14"
-		color "out_specialC15",		#: shortname "fb14"
-		boolean "use_SpecialC16",		#: shortname "efb15"
-		color "out_specialC16",		#: shortname "fb15"
-		boolean "use_SpecialC17",		#: shortname "efb16"
-		color "out_specialC17",		#: shortname "fb16"
-		boolean "use_SpecialC18",		#: shortname "efb17"
-		color "out_specialC18",		#: shortname "fb17"
-		boolean "use_SpecialC19",		#: shortname "efb18"
-		color "out_specialC19",		#: shortname "fb18"
-		boolean "use_SpecialC20",		#: shortname "efb19"
-		color "out_specialC20",		#: shortname "fb19"
-		boolean "use_SpecialC21",		#: shortname "efb20"
-		color "out_specialC21",		#: shortname "fb20"
-		boolean "use_SpecialC22",		#: shortname "efb21"
-		color "out_specialC22",		#: shortname "fb21"
-		boolean "use_SpecialC23",		#: shortname "efb22"
-		color "out_specialC23",		#: shortname "fb22"
-		boolean "use_SpecialC24",		#: shortname "efb23"
-		color "out_specialC24",		#: shortname "fb23"
-		boolean "use_SpecialC25",		#: shortname "efb24"
-		color "out_specialC25",		#: shortname "fb24"
-		boolean "use_SpecialC26",		#: shortname "efb25"
-		color "out_specialC26",		#: shortname "fb25"
-		boolean "use_SpecialC27",		#: shortname "efb26"
-		color "out_specialC27",		#: shortname "fb26"
-		boolean "use_SpecialC28",		#: shortname "efb27"
-		color "out_specialC28",		#: shortname "fb27"
-		boolean "use_SpecialC29",		#: shortname "efb28"
-		color "out_specialC29",		#: shortname "fb28"
-		boolean "use_SpecialC30",		#: shortname "efb29"
-		color "out_specialC30",		#: shortname "fb29"
-		boolean "use_SpecialC31",		#: shortname "efb30"
-		color "out_specialC31",		#: shortname "fb30"
-		boolean "use_SpecialC32",		#: shortname "efb31"
-		color "out_specialC32",		#: shortname "fb31"
-		boolean "use_SpecialC33",		#: shortname "efb32"
-		color "out_specialC33",		#: shortname "fb32"
-		boolean "use_SpecialC34",		#: shortname "efb33"
-		color "out_specialC34",		#: shortname "fb33"
-		boolean "use_SpecialC35",		#: shortname "efb34"
-		color "out_specialC35",		#: shortname "fb34"
-		boolean "use_SpecialC36",		#: shortname "efb35"
-		color "out_specialC36",		#: shortname "fb35"
-		boolean "use_SpecialC37",		#: shortname "efb36"
-		color "out_specialC37",		#: shortname "fb36"
-		boolean "use_SpecialC38",		#: shortname "efb37"
-		color "out_specialC38",		#: shortname "fb37"
-		boolean "use_SpecialC39",		#: shortname "efb38"
-		color "out_specialC39",		#: shortname "fb38"
-		boolean "use_SpecialC40",		#: shortname "efb39"
-		color "out_specialC40",		#: shortname "fb39"
-		boolean "use_SpecialC41",		#: shortname "efb40"
-		color "out_specialC41",		#: shortname "fb40"
-		boolean "use_SpecialC42",		#: shortname "efb41"
-		color "out_specialC42",		#: shortname "fb41"
-		boolean "use_SpecialC43",		#: shortname "efb42"
-		color "out_specialC43",		#: shortname "fb42"
-		boolean "use_SpecialC44",		#: shortname "efb43"
-		color "out_specialC44",		#: shortname "fb43"
-		boolean "use_SpecialC45",		#: shortname "efb44"
-		color "out_specialC45",		#: shortname "fb44"
-		boolean "use_SpecialC46",		#: shortname "efb45"
-		color "out_specialC46",		#: shortname "fb45"
-		boolean "use_SpecialC47",		#: shortname "efb46"
-		color "out_specialC47",		#: shortname "fb46"
-		boolean "use_SpecialC48",		#: shortname "efb47"
-		color "out_specialC48",		#: shortname "fb47"
-		boolean "use_SpecialC49",		#: shortname "efb48"
-		color "out_specialC49",		#: shortname "fb48"
-		boolean "use_SpecialC50",		#: shortname "efb49"
-		color "out_specialC50",		#: shortname "fb49"
-		boolean "use_SpecialC51",		#: shortname "efb50"
-		color "out_specialC51",		#: shortname "fb50"
-		boolean "use_SpecialC52",		#: shortname "efb51"
-		color "out_specialC52",		#: shortname "fb51"
-		boolean "use_SpecialC53",		#: shortname "efb52"
-		color "out_specialC53",		#: shortname "fb52"
-		boolean "use_SpecialC54",		#: shortname "efb53"
-		color "out_specialC54",		#: shortname "fb53"
-		boolean "use_SpecialC55",		#: shortname "efb54"
-		color "out_specialC55",		#: shortname "fb54"
-		boolean "use_SpecialC56",		#: shortname "efb55"
-		color "out_specialC56",		#: shortname "fb55"
-		boolean "use_SpecialC57",		#: shortname "efb56"
-		color "out_specialC57",		#: shortname "fb56"
-		boolean "use_SpecialC58",		#: shortname "efb57"
-		color "out_specialC58",		#: shortname "fb57"
-		boolean "use_SpecialC59",		#: shortname "efb58"
-		color "out_specialC59",		#: shortname "fb58"
-		boolean "use_SpecialC60",		#: shortname "efb59"
-		color "out_specialC60",		#: shortname "fb59"
-		boolean "restore_normal"	#: shortname "restn"
-	)
-	version 3
-	apply material
-	#: nodeid 33546653
-end declare
-
-declare shader
-	geometry 					#: shortname "out_res"
-		"deeX_Buffers_pass" (
-		string 		"fname",		#: shortname "nam"
-		string 		"render_dir",		#: shortname "rdir"
-		integer 	"frame_padding",	#: shortname "frpa" softmin 1 softmax 4 default 4 min 1 max 10
-		integer		"output_format",	#: shortname "oufo" min 0 max 3
-		
-		integer 	"openexr_comp",		#: shortname "exrc" min 0 max 7
-		integer 	"openexr_format",	#: shortname "exrf" min 0 max 1
-	
-		boolean 	"filter_pass",		#: shortname "fipa" default 1
-		boolean 	"contrast_all_buffers",	#: shortname "cofb" default 0
-		
-		boolean		"overrideFbMemManagement",
-		integer		"fbMemManagement", 		#: shortname "mo" default 1 min 0 max 2 enum "Disable=0:Mapped=1:Cached=2"
-		
-		boolean 	"mr_color_pass",	#: shortname "rgbp" default 1	
-		integer 	"mr_color_format",	#: shortname "rgbf" default 0 min 0 max 2
-		boolean 	"mr_z_pass",		#: shortname "zp" default 0
-		integer 	"mr_z_format",		#: shortname "zf" default 0 min 0 max 4
-		boolean 	"mr_normal_pass",	#: shortname "norp" default 0
-		integer 	"mr_normal_format",	#: shortname "norf" default 0 min 0 max 4
-		boolean 	"mr_motion_pass",	#: shortname "motp" default 0
-		integer 	"mr_motion_format",	#: shortname "motf" default 0 min 0 max 4
-		boolean 	"mr_label_pass",	#: shortname "labp" default 0
-		integer		"mr_label_format",	#: shortname "labf" default 0 min 0 max 4
-		boolean 	"mr_coverage_pass",	#: shortname "covp" default 0
-		integer 	"mr_coverage_format",	#: shortname "covf" default 5 min 0 max 5
-		
-		boolean 	"specialC1_pass",	#: shortname "sc1pa" default 0
-		boolean 	"specialC2_pass",	#: shortname "sc2pa" default 0
-		boolean 	"specialC3_pass",	#: shortname "sc3pa" default 0
-		boolean 	"specialC4_pass",	#: shortname "sc4pa" default 0
-		boolean 	"specialC5_pass",	#: shortname "sc5pa" default 0
-		boolean 	"specialC6_pass",	#: shortname "sc6pa" default 0
-		boolean 	"specialC7_pass",	#: shortname "sc7pa" default 0
-		boolean 	"specialC8_pass",	#: shortname "sc8pa" default 0
-		boolean 	"specialC9_pass",	#: shortname "sc9pa" default 0
-		boolean 	"specialC10_pass",	#: shortname "sc10pa" default 0
-		boolean 	"specialC11_pass",	#: shortname "sc11pa" default 0
-		boolean 	"specialC12_pass",	#: shortname "sc12pa" default 0
-		boolean 	"specialC13_pass",	#: shortname "sc13pa" default 0
-		boolean 	"specialC14_pass",	#: shortname "sc14pa" default 0
-		boolean 	"specialC15_pass",	#: shortname "sc15pa" default 0
-		boolean 	"specialC16_pass",	#: shortname "sc16pa" default 0
-		boolean 	"specialC17_pass",	#: shortname "sc17pa" default 0
-		boolean 	"specialC18_pass",	#: shortname "sc18pa" default 0
-		boolean 	"specialC19_pass",	#: shortname "sc19pa" default 0
-		boolean 	"specialC20_pass",	#: shortname "sc20pa" default 0
-		boolean 	"specialC21_pass",	#: shortname "sc21pa" default 0
-		boolean 	"specialC22_pass",	#: shortname "sc22pa" default 0
-		boolean 	"specialC23_pass",	#: shortname "sc23pa" default 0
-		boolean 	"specialC24_pass",	#: shortname "sc24pa" default 0
-		boolean 	"specialC25_pass",	#: shortname "sc25pa" default 0
-		boolean 	"specialC26_pass",	#: shortname "sc26pa" default 0
-		boolean 	"specialC27_pass",	#: shortname "sc27pa" default 0
-		boolean 	"specialC28_pass",	#: shortname "sc28pa" default 0
-		boolean 	"specialC29_pass",	#: shortname "sc29pa" default 0
-		boolean 	"specialC30_pass",	#: shortname "sc30pa" default 0
-		boolean 	"specialC31_pass",	#: shortname "sc31pa" default 0
-		boolean 	"specialC32_pass",	#: shortname "sc32pa" default 0
-		boolean 	"specialC33_pass",	#: shortname "sc33pa" default 0
-		boolean 	"specialC34_pass",	#: shortname "sc34pa" default 0
-		boolean 	"specialC35_pass",	#: shortname "sc35pa" default 0
-		boolean 	"specialC36_pass",	#: shortname "sc36pa" default 0
-		boolean 	"specialC37_pass",	#: shortname "sc37pa" default 0
-		boolean 	"specialC38_pass",	#: shortname "sc38pa" default 0
-		boolean 	"specialC39_pass",	#: shortname "sc39pa" default 0
-		boolean 	"specialC40_pass",	#: shortname "sc40pa" default 0
-		boolean 	"specialC41_pass",	#: shortname "sc41pa" default 0
-		boolean 	"specialC42_pass",	#: shortname "sc42pa" default 0
-		boolean 	"specialC43_pass",	#: shortname "sc43pa" default 0
-		boolean 	"specialC44_pass",	#: shortname "sc44pa" default 0
-		boolean 	"specialC45_pass",	#: shortname "sc45pa" default 0
-		boolean 	"specialC46_pass",	#: shortname "sc46pa" default 0
-		boolean 	"specialC47_pass",	#: shortname "sc47pa" default 0
-		boolean 	"specialC48_pass",	#: shortname "sc48pa" default 0
-		boolean 	"specialC49_pass",	#: shortname "sc49pa" default 0
-		boolean 	"specialC50_pass",	#: shortname "sc50pa" default 0
-		boolean 	"specialC51_pass",	#: shortname "sc51pa" default 0
-		boolean 	"specialC52_pass",	#: shortname "sc52pa" default 0
-		boolean 	"specialC53_pass",	#: shortname "sc53pa" default 0
-		boolean 	"specialC54_pass",	#: shortname "sc54pa" default 0
-		boolean 	"specialC55_pass",	#: shortname "sc55pa" default 0	
-		boolean 	"specialC56_pass",	#: shortname "sc56pa" default 0	
-		boolean 	"specialC57_pass",	#: shortname "sc57pa" default 0	
-		boolean 	"specialC58_pass",	#: shortname "sc58pa" default 0	
-		boolean 	"specialC59_pass",	#: shortname "sc59pa" default 0	
-		boolean 	"specialC60_pass",	#: shortname "sc60pa" default 0	
-		boolean 	"modifyCamera", 	#: shortname modifyCamera
-		integer 	"stereoMode", 		#: shortname stereoMode enum "off:toein:offaxis:offset"
-		scalar 		"eyeDist"			#: default 6.5 shortname eyeDist
-	)
-	version 1
-	apply geometry
-	#: nodeid 35454532
-end declare
-
-#declare shader
-#	"deeX_exr_saver"
-#	 (
-#		string 		"fileName",		#: shortname "fn"
-#		integer		"compression",		#: shortname "c" min 0 max 7
-#		boolean 	"rgbaPass",		#: shortname "cp" default 1
-#		integer		"rgbaFormat",		#: shortname "cf" min 0 max 2 default 1
-#		boolean 	"zPass",		#: shortname "zp" default 1
-#		integer		"zFormat",		#: shortname "zf" min 0 max 2 default 1
-#		boolean 	"nPass",		#: shortname "np" default 1
-#		integer		"nFormat",		#: shortname "nf" min 0 max 2  default 1
-#		boolean 	"mPass",		#: shortname "mp" default 1 
-#		integer		"mFormat",		#: shortname "mf" min 0 max 2 default 1
-#		boolean 	"tPass",		#: shortname "tvp" default 1
-#		integer		"tFormat",		#: shortname "tvf" min 0 max 2 default 1
-#		boolean 	"cPass",		#: shortname "cvp" default 1
-#		integer		"cFormat",		#: shortname "cvf" min 0 max 2 default 1
-#		
-#		boolean 	"specialC1Pass",	#: shortname "s1p" default 0
-#		string		"specialC1Buffer",	#: shortname "s1b"
-#		integer		"specialC1Format",	#: shortname "s1f" min 0 max 2 default 1
-#		boolean 	"specialC2Pass",	#: shortname "s2p" default 0
-#		string		"specialC2Buffer",	#: shortname "s2b"
-#		integer		"specialC2Format",	#: shortname "s2f" min 0 max 2 default 1
-#		boolean 	"specialC3Pass",	#: shortname "s3p" default 0
-#		string		"specialC3Buffer",	#: shortname "s3b" 
-#		integer		"specialC3Format",	#: shortname "s3f" min 0 max 2 default 1
-#		boolean 	"specialC4Pass",	#: shortname "s4p" default 0
-#		string		"specialC4Buffer",	#: shortname "s4b"
-#		integer		"specialC4Format",	#: shortname "s4f" min 0 max 2 default 1
-#		boolean 	"specialC5Pass",	#: shortname "s5p" default 0
-#		string		"specialC5Buffer",	#: shortname "s5b" 
-#		integer		"specialC5Format",	#: shortname "s5f" min 0 max 2 default 1
-#		boolean 	"specialC6Pass",	#: shortname "s6p" default 0
-#		string		"specialC6Buffer",	#: shortname "s6b"
-#		integer		"specialC6Format",	#: shortname "s6f" min 0 max 2 default 1
-#		boolean 	"specialC7Pass",	#: shortname "s7p" default 0
-#		string		"specialC7Buffer",	#: shortname "s7b"
-#		integer		"specialC7Format",	#: shortname "s7f" min 0 max 2 default 1
-#		boolean 	"specialC8Pass",	#: shortname "s8p" default 0
-#		string		"specialC8Buffer",	#: shortname "s8b"
-#		integer		"specialC8Format",	#: shortname "s8f" min 0 max 2 default 1
-#		boolean 	"specialC9Pass",	#: shortname "s9p" default 0
-#		string		"specialC9Buffer",	#: shortname "s9b" 
-#		integer		"specialC9Format",	#: shortname "s9f" min 0 max 2 default 1
-#		boolean 	"specialC10Pass",	#: shortname "s10p" default 0
-#		string		"specialC10Buffer",	#: shortname "s10b"
-#		integer		"specialC10Format",	#: shortname "s10f" min 0 max 2 default 1
-#		boolean 	"specialC11Pass",	#: shortname "sC11p" default 0
-#		string		"specialC11Buffer",	#: shortname "sC11b"
-#		integer		"specialC11Format",	#: shortname "sC11f" min 0 max 2 default 1
-#		boolean 	"specialC12Pass",	#: shortname "sC12p" default 0
-#		string		"specialC12Buffer",	#: shortname "sC12b"
-#		integer		"specialC12Format",	#: shortname "sC12f" min 0 max 2 default 1
-#		boolean 	"specialC13Pass",	#: shortname "sC13p" default 0
-#		string		"specialC13Buffer",	#: shortname "sC13b"
-#		integer		"specialC13Format",	#: shortname "sC13f" min 0 max 2 default 1
-#		boolean 	"specialC14Pass",	#: shortname "sC14p" default 0
-#		string		"specialC14Buffer",	#: shortname "sC14b"
-#		integer		"specialC14Format",	#: shortname "sC14f" min 0 max 2 default 1
-#		boolean 	"specialC15Pass",	#: shortname "sC15p" default 0
-#		string		"specialC15Buffer",	#: shortname "sC15b"
-#		integer		"specialC15Format",	#: shortname "sC15f" min 0 max 2 default 1
-#		boolean 	"specialC16Pass",	#: shortname "sC16p" default 0
-#		string		"specialC16Buffer",	#: shortname "sC16b"
-#		integer		"specialC16Format",	#: shortname "sC16f" min 0 max 2 default 1
-#		boolean 	"specialC17Pass",	#: shortname "sC17p" default 0
-#		string		"specialC17Buffer",	#: shortname "sC17b"
-#		integer		"specialC17Format",	#: shortname "sC17f" min 0 max 2 default 1
-#		boolean 	"specialC18Pass",	#: shortname "sC18p" default 0
-#		string		"specialC18Buffer",	#: shortname "sC18b"
-#		integer		"specialC18Format",	#: shortname "sC18f" min 0 max 2 default 1
-#		boolean 	"specialC19Pass",	#: shortname "sC19p" default 0
-#		string		"specialC19Buffer",	#: shortname "sC19b"
-#		integer		"specialC19Format",	#: shortname "sC19f" min 0 max 2 default 1
-#		boolean 	"specialC20Pass",	#: shortname "sC20p" default 0
-#		string		"specialC20Buffer",	#: shortname "sC20b"
-#		integer		"specialC20Format",	#: shortname "sC20f" min 0 max 2 default 1
-#		boolean 	"specialC21Pass",	#: shortname "sC21p" default 0
-#		string		"specialC21Buffer",	#: shortname "sC21b"
-#		integer		"specialC21Format",	#: shortname "sC21f" min 0 max 2 default 1
-#		boolean 	"specialC22Pass",	#: shortname "sC22p" default 0
-#		string		"specialC22Buffer",	#: shortname "sC22b"
-#		integer		"specialC22Format",	#: shortname "sC22f" min 0 max 2 default 1
-#		boolean 	"specialC23Pass",	#: shortname "sC23p" default 0
-#		string		"specialC23Buffer",	#: shortname "sC23b"
-#		integer		"specialC23Format",	#: shortname "sC23f" min 0 max 2 default 1
-#		boolean 	"specialC24Pass",	#: shortname "sC24p" default 0
-#		string		"specialC24Buffer",	#: shortname "sC24b"
-#		integer		"specialC24Format",	#: shortname "sC24f" min 0 max 2 default 1
-#		boolean 	"specialC25Pass",	#: shortname "sC25p" default 0
-#		string		"specialC25Buffer",	#: shortname "sC25b"
-#		integer		"specialC25Format",	#: shortname "sC25f" min 0 max 2 default 1
-#		boolean 	"specialC26Pass",	#: shortname "sC26p" default 0
-#		string		"specialC26Buffer",	#: shortname "sC26b"
-#		integer		"specialC26Format",	#: shortname "sC26f" min 0 max 2 default 1
-#		boolean 	"specialC27Pass",	#: shortname "sC27p" default 0
-#		string		"specialC27Buffer",	#: shortname "sC27b"
-#		integer		"specialC27Format",	#: shortname "sC27f" min 0 max 2 default 1
-#		boolean 	"specialC28Pass",	#: shortname "sC28p" default 0
-#		string		"specialC28Buffer",	#: shortname "sC28b"
-#		integer		"specialC28Format",	#: shortname "sC28f" min 0 max 2 default 1
-#		boolean 	"specialC29Pass",	#: shortname "sC29p" default 0
-#		string		"specialC29Buffer",	#: shortname "sC29b"
-#		integer		"specialC29Format",	#: shortname "sC29f" min 0 max 2 default 1
-#		boolean 	"specialC30Pass",	#: shortname "sC30p" default 0
-#		string		"specialC30Buffer",	#: shortname "sC30b"
-#		integer		"specialC30Format",	#: shortname "sC30f" min 0 max 2 default 1
-#		boolean 	"specialC31Pass",	#: shortname "sC31p" default 0
-#		string		"specialC31Buffer",	#: shortname "sC31b"
-#		integer		"specialC31Format",	#: shortname "sC31f" min 0 max 2 default 1
-#		boolean 	"specialC32Pass",	#: shortname "sC32p" default 0
-#		string		"specialC32Buffer",	#: shortname "sC32b"
-#		integer		"specialC32Format",	#: shortname "sC32f" min 0 max 2 default 1
-#		boolean 	"specialC33Pass",	#: shortname "sC33p" default 0
-#		string		"specialC33Buffer",	#: shortname "sC33b"
-#		integer		"specialC33Format",	#: shortname "sC33f" min 0 max 2 default 1
-#		boolean 	"specialC34Pass",	#: shortname "sC34p" default 0
-#		string		"specialC34Buffer",	#: shortname "sC34b"
-#		integer		"specialC34Format",	#: shortname "sC34f" min 0 max 2 default 1
-#		boolean 	"specialC35Pass",	#: shortname "sC35p" default 0
-#		string		"specialC35Buffer",	#: shortname "sC35b"
-#		integer		"specialC35Format",	#: shortname "sC35f" min 0 max 2 default 1
-#		boolean 	"specialC36Pass",	#: shortname "sC36p" default 0
-#		string		"specialC36Buffer",	#: shortname "sC36b"
-#		integer		"specialC36Format",	#: shortname "sC36f" min 0 max 2 default 1
-#		boolean 	"specialC37Pass",	#: shortname "sC37p" default 0
-#		string		"specialC37Buffer",	#: shortname "sC37b"
-#		integer		"specialC37Format",	#: shortname "sC37f" min 0 max 2 default 1
-#		boolean 	"specialC38Pass",	#: shortname "sC38p" default 0
-#		string		"specialC38Buffer",	#: shortname "sC38b"
-#		integer		"specialC38Format",	#: shortname "sC38f" min 0 max 2 default 1
-#		boolean 	"specialC39Pass",	#: shortname "sC39p" default 0
-#		string		"specialC39Buffer",	#: shortname "sC39b"
-#		integer		"specialC39Format",	#: shortname "sC39f" min 0 max 2 default 1
-#		boolean 	"specialC40Pass",	#: shortname "sC40p" default 0
-#		string		"specialC40Buffer",	#: shortname "sC40b"
-#		integer		"specialC40Format",	#: shortname "sC40f" min 0 max 2 default 1
-#		boolean 	"specialC41Pass",	#: shortname "sC41p" default 0
-#		string		"specialC41Buffer",	#: shortname "sC41b"
-#		integer		"specialC41Format",	#: shortname "sC41f" min 0 max 2 default 1
-#		boolean 	"specialC42Pass",	#: shortname "sC42p" default 0
-#		string		"specialC42Buffer",	#: shortname "sC42b"
-#		integer		"specialC42Format",	#: shortname "sC42f" min 0 max 2 default 1
-#		boolean 	"specialC43Pass",	#: shortname "sC43p" default 0
-#		string		"specialC43Buffer",	#: shortname "sC43b"
-#		integer		"specialC43Format",	#: shortname "sC43f" min 0 max 2 default 1
-#		boolean 	"specialC44Pass",	#: shortname "sC44p" default 0
-#		string		"specialC44Buffer",	#: shortname "sC44b"
-#		integer		"specialC44Format",	#: shortname "sC44f" min 0 max 2 default 1
-#		boolean 	"specialC45Pass",	#: shortname "sC45p" default 0
-#		string		"specialC45Buffer",	#: shortname "sC45b"
-#		integer		"specialC45Format",	#: shortname "sC45f" min 0 max 2 default 1
-#		boolean 	"specialC46Pass",	#: shortname "sC46p" default 0
-#		string		"specialC46Buffer",	#: shortname "sC46b"
-#		integer		"specialC46Format",	#: shortname "sC46f" min 0 max 2 default 1
-#		boolean 	"specialC47Pass",	#: shortname "sC47p" default 0
-#		string		"specialC47Buffer",	#: shortname "sC47b"
-#		integer		"specialC47Format",	#: shortname "sC47f" min 0 max 2 default 1
-#		boolean 	"specialC48Pass",	#: shortname "sC48p" default 0
-#		string		"specialC48Buffer",	#: shortname "sC48b"
-#		integer		"specialC48Format",	#: shortname "sC48f" min 0 max 2 default 1
-#		boolean 	"specialC49Pass",	#: shortname "sC49p" default 0
-#		string		"specialC49Buffer",	#: shortname "sC49b"
-#		integer		"specialC49Format",	#: shortname "sC49f" min 0 max 2 default 1
-#		boolean 	"specialC50Pass",	#: shortname "sC50p" default 0
-#		string		"specialC50Buffer",	#: shortname "sC50b"
-#		integer		"specialC50Format",	#: shortname "sC50f" min 0 max 2 default 1
-#		boolean 	"specialC51Pass",	#: shortname "sC51p" default 0
-#		string		"specialC51Buffer",	#: shortname "sC51b"
-#		integer		"specialC51Format",	#: shortname "sC51f" min 0 max 2 default 1
-#		boolean 	"specialC52Pass",	#: shortname "sC52p" default 0
-#		string		"specialC52Buffer",	#: shortname "sC52b"
-#		integer		"specialC52Format",	#: shortname "sC52f" min 0 max 2 default 1
-#		boolean 	"specialC53Pass",	#: shortname "sC53p" default 0
-#		string		"specialC53Buffer",	#: shortname "sC53b"
-#		integer		"specialC53Format",	#: shortname "sC53f" min 0 max 2 default 1
-#		boolean 	"specialC54Pass",	#: shortname "sC54p" default 0
-#		string		"specialC54Buffer",	#: shortname "sC54b"
-#		integer		"specialC54Format"	#: shortname "sC54f" min 0 max 2 default 1
-#	 )
-#	#: nodeid 3684534
-#	apply output
-#	version 3
-#end declare
-  
-$endif # if not "deeX_Buffers_pass_mi_included"

release/include/deeX_phenomena.mi

-#****************************************************************************
-# Author:	BATAILLE Damien deex@deex.info
-# Created:	09.05.10
-# Module:	deex_phenomena
-# Purpose:	.mi declarations for deeX_mi_car_paint, deeX_mi_metallic_paint
-#						deeX_misss_fast_shader, deeX_mia_material
-# Version:	2.00
-#****************************************************************************
-
-$ifndef "deeX_phenomena_mi_included"
-set "deeX_phenomena_mi_included" "true"
-
-declare phenomenon
-    color 
-
-    "deeX_mi_car_paint" (
-
-	color       "ambient"           default 0 0 0 1,
-	color       "base_color"        default 0.8 0.1 0.0 1,
-	color       "edge_color"        default 0.0 0.0 0.0,
-	scalar      "edge_color_bias"   default 1.0,
-	color       "lit_color"         default 0.6 0.0 0.2,
-	scalar      "lit_color_bias"    default 8.0,
-	scalar      "diffuse_weight"    default 1.0,
-	scalar      "diffuse_bias"      default 1.5,
-
-	color       "spec"              default 1 1 1 1,
-	scalar      "spec_weight"       default 0.2,
-	scalar      "spec_exp"          default 60.0,
-	color       "spec_sec"          default 1 1 1 1,
-	scalar      "spec_sec_weight"   default 0.3,
-	scalar      "spec_sec_exp"      default 25.0,
-	boolean     "spec_glazing"      default on,
-
-	color       "flake_color"       default 1.0 1.0 1.0 1,
-	scalar      "flake_weight"      default 1.0,
-	scalar      "flake_reflect"     default 0.0,
-	scalar      "flake_exp"         default 45.0,
-	scalar      "flake_density"     default 0.5,
-	scalar      "flake_decay"       default 0.0,
-	scalar      "flake_strength"    default 0.8,
-	scalar      "flake_scale"       default 0.12,
-
-	color       "reflection_color"       default 1 1 1,
-	scalar      "edge_factor"            default 7.0,    
-	scalar      "reflection_edge_weight" default 1.0,
-	scalar      "reflection_base_weight" default 0.2,
-	integer     "samples"                default 0,
-	scalar      "glossy_spread"          default 0.0,
-	scalar      "max_distance"           default 0.0,
-	boolean     "single_env_sample"      default off,
-
-	color       "dirt_color"        default .3 .3 .3,
-	scalar      "dirt_weight"       default 0.0,
-
-	scalar      "irradiance_weight" default 1.0,
-	scalar      "global_weight"     default 1.0,
-
-	integer     "mode"              default 4,
-	array light "lights",
-	boolean "use_SpecialC1",
-	boolean "use_SpecialC3",
-	boolean "use_SpecialC6",
-	boolean "use_SpecialC9",
-	boolean "use_SpecialC10",
-	boolean "use_SpecialC13",
-	boolean "use_SpecialC14",
-	boolean "use_SpecialC19",
-	boolean "use_SpecialC23",
-	boolean "use_SpecialC24",
-	boolean "use_SpecialC25",
-	boolean "use_SpecialC26",
-	boolean "use_SpecialC27",
-	boolean "use_SpecialC28",
-	boolean "use_SpecialC29",
-	boolean "use_SpecialC30",
-	boolean "use_SpecialC31",
-	boolean "use_SpecialC33",
-	boolean "use_SpecialC34",
-	boolean "use_SpecialC35",
-	boolean "use_SpecialC36",
-	boolean "use_SpecialC37",
-	boolean "use_SpecialC38",
-	boolean "use_SpecialC39",
-	boolean "use_SpecialC40",
-	boolean "use_SpecialC41",
-	boolean "use_SpecialC50",
-	boolean "use_SpecialC51",
-	color "out_specialC51"        		default 0.0 0.0 0.0,
-	boolean "use_SpecialC52",
-	color "out_specialC52"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC53",
-	color "out_specialC53"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC54",
-	color "out_specialC54"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC55",
-	color "out_specialC55"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC56",
-	color "out_specialC56"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC57",
-	color "out_specialC57"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC58",
-	color "out_specialC58"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC59",
-	color "out_specialC59"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC60",
-	color "out_specialC60"			default 0.0 0.0 0.0,
-	boolean 	"gamma_button"  	default off,
-	scalar 		"gamma" 			default 1.0,
-	boolean		"reverse"      		default off
-	)
-	
-	# Gamma for ambient
-	
-	shader "deeX_mi_car_paint_mip_gamma_gainGamambient"
-	"mip_gamma_gain" (
-        "input" = interface "ambient",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for base_color
-	
-	shader "deeX_mi_car_paint_mip_gamma_gainGambase_color"
-	"mip_gamma_gain" (
-        "input" = interface "base_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for edge_color
-	
-	shader "deeX_mi_car_paint_mip_gamma_gainGamedge_color"
-	"mip_gamma_gain" (
-        "input" = interface "edge_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for lit_color
-	
-	shader "deeX_mi_car_paint_mip_gamma_gainGamlit_color"
-	"mip_gamma_gain" (
-        "input" = interface "lit_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for flake_color
-	
-	shader "deeX_mi_car_paint_mip_gamma_gainGamflake_color"
-	"mip_gamma_gain" (
-        "input" = interface "flake_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for dirt_color
-	
-	shader "deeX_mi_car_paint_mip_gamma_gainGamdirt_color"
-	"mip_gamma_gain" (
-        "input" = interface "dirt_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-
-    shader "mi_car_paint_phen_x1"
-	"mi_car_paint_phen_x" (
-		"ambient" = "deeX_mi_car_paint_mip_gamma_gainGamambient",
-		"base_color" = "deeX_mi_car_paint_mip_gamma_gainGambase_color",
-		"edge_color" = "deeX_mi_car_paint_mip_gamma_gainGamedge_color",
-		"edge_color_bias" = interface "edge_color_bias",
-		"lit_color" = "deeX_mi_car_paint_mip_gamma_gainGamlit_color",
-		"lit_color_bias" = interface "lit_color_bias",
-		"diffuse_weight" = interface "diffuse_weight",
-		"diffuse_bias" = interface "diffuse_bias",
-		"flake_color" = "deeX_mi_car_paint_mip_gamma_gainGamflake_color",
-		"flake_weight" = interface "flake_weight",
-		"flake_reflect" = interface "flake_reflect",
-		"flake_exp" = interface "flake_exp",
-		"flake_density" = interface "flake_density",
-		"flake_decay" = interface "flake_decay",
-		"flake_strength" = interface "flake_strength",
-		"flake_scale" = interface "flake_scale",
-		"spec" = interface "spec",
-		"spec_weight" = interface "spec_weight",
-		"spec_exp" = interface "spec_exp",
-		"spec_sec" = interface "spec_sec",
-		"spec_sec_weight" = interface "spec_sec_weight",
-		"spec_sec_exp" = interface "spec_sec_exp",
-		"spec_glazing" = interface "spec_glazing",
-		"reflection_color" = interface "reflection_color",
-		"edge_factor" = interface "edge_factor",
-		"reflection_edge_weight" = interface "reflection_edge_weight",
-		"reflection_base_weight" = interface "reflection_base_weight",
-		"samples" = interface "samples",
-		"glossy_spread" = interface "glossy_spread",
-		"max_distance" = interface "max_distance",
-		"single_env_sample" = interface "single_env_sample",
-		"dirt_color" = "deeX_mi_car_paint_mip_gamma_gainGamdirt_color",
-		"dirt_weight" = interface "dirt_weight",
-		"irradiance_weight" = interface "irradiance_weight",
-		"mode" 4,
-		"lights" [],
-		"global_weight" = interface "global_weight"
-	    )
-
-    shader "deeX_Buffer_writter_car"
-	"deeX_Buffer_writter" (
-	    "render" = "mi_car_paint_phen_x1.result",
-	    "use_SpecialC1" = interface "use_SpecialC1",
-	    "out_specialC1" = "mi_car_paint_phen_x1.diffuse_result",
-	    "use_SpecialC2" off,
-	    "out_specialC2" 0. 0. 0. 1.,
-	    "use_SpecialC3" = interface "use_SpecialC3",
-	    "out_specialC3" = "mi_car_paint_phen_x1.reflection_result",
-	    "use_SpecialC4" off,
-	    "out_specialC4" 0. 0. 0. 1.,
-	    "use_SpecialC5" off,
-	    "out_specialC5" 0. 0. 0. 1.,
-	    "use_SpecialC6" = interface "use_SpecialC6",
-	    "out_specialC6" = "mi_car_paint_phen_x1.indirect_result",
-	    "use_SpecialC7" off,
-	    "out_specialC7" 0. 0. 0. 1.,
-	    "use_SpecialC8" off,
-	    "out_specialC8" 0. 0. 0. 1.,
-	    "use_SpecialC9" = interface "use_SpecialC9",
-	    "out_specialC9" = "mi_car_paint_phen_x1.diffuse_raw",
-	    "use_SpecialC10" = interface "use_SpecialC10",
-	    "out_specialC10" = "mi_car_paint_phen_x1.diffuse_level",
-	    "use_SpecialC11" off,
-	    "out_specialC11" 0. 0. 0. 1.,
-	    "use_SpecialC12" off,
-	    "out_specialC12" 0. 0. 0. 1.,
-	    "use_SpecialC13" = interface "use_SpecialC13",
-	    "out_specialC13" = "mi_car_paint_phen_x1.reflection_raw",
-	    "use_SpecialC14" = interface "use_SpecialC14",
-	    "out_specialC14" = "mi_car_paint_phen_x1.reflection_level",
-	    "use_SpecialC15" off,
-	    "out_specialC15" 0. 0. 0. 1.,
-	    "use_SpecialC16" off,
-	    "out_specialC16" 0. 0. 0. 1.,
-	    "use_SpecialC17" off,
-	    "out_specialC17" 0. 0. 0. 1.,
-	    "use_SpecialC18" off,
-	    "out_specialC18" 0. 0. 0. 1.,
-	    "use_SpecialC19" = interface "use_SpecialC19",
-	    "out_specialC19" = "mi_car_paint_phen_x1.indirect_raw",
-	    "use_SpecialC20" off,
-	    "out_specialC20" 0. 0. 0. 1.,
-	    "use_SpecialC21" off,
-	    "out_specialC21" 0. 0. 0. 1.,
-	    "use_SpecialC22" off,
-	    "out_specialC22" 0. 0. 0. 1.,
-	    "use_SpecialC23" = interface "use_SpecialC23",
-	    "out_specialC23" = "mi_car_paint_phen_x1.ambient_result",
-	    "use_SpecialC24" = interface "use_SpecialC24",
-	    "out_specialC24" = "mi_car_paint_phen_x1.spec1_result",
-	    "use_SpecialC25" = interface "use_SpecialC25",
-	    "out_specialC25" = "mi_car_paint_phen_x1.spec1_raw",
-	    "use_SpecialC26" = interface "use_SpecialC26",
-	    "out_specialC26" = "mi_car_paint_phen_x1.spec1_level",
-	    "use_SpecialC27" = interface "use_SpecialC27",
-	    "out_specialC27" = "mi_car_paint_phen_x1.spec2_result",
-	    "use_SpecialC28" = interface "use_SpecialC28",
-	    "out_specialC28" = "mi_car_paint_phen_x1.spec2_raw",
-	    "use_SpecialC29" = interface "use_SpecialC29",
-	    "out_specialC29" = "mi_car_paint_phen_x1.spec2_level",
-	    "use_SpecialC30" = interface "use_SpecialC30",
-	    "out_specialC30" = "mi_car_paint_phen_x1.flake_result",
-	    "use_SpecialC31" = interface "use_SpecialC31",
-	    "out_specialC31" = "mi_car_paint_phen_x1.flake_raw",
-	    "use_SpecialC32" off,
-	    "out_specialC32" 0. 0. 0. 1.,
-	    "use_SpecialC33" = interface "use_SpecialC33",
-	    "out_specialC33" = "mi_car_paint_phen_x1.flake_refl_result",
-	    "use_SpecialC34" = interface "use_SpecialC34",
-	    "out_specialC34" = "mi_car_paint_phen_x1.flake_refl_raw",
-	    "use_SpecialC35" = interface "use_SpecialC35",
-	    "out_specialC35" = "mi_car_paint_phen_x1.flake_refl_level",
-	    "use_SpecialC36" = interface "use_SpecialC36",
-	    "out_specialC36" = "mi_car_paint_phen_x1.flake_normal",
-	    "use_SpecialC37" = interface "use_SpecialC37",
-	    "out_specialC37" = "mi_car_paint_phen_x1.dirt_result",
-	    "use_SpecialC38" = interface "use_SpecialC38",
-	    "out_specialC38" = "mi_car_paint_phen_x1.dirt_raw",
-	    "use_SpecialC39" = interface "use_SpecialC39",
-	    "out_specialC39" = "mi_car_paint_phen_x1.dirt_level",
-	    "use_SpecialC40" = interface "use_SpecialC40",
-	    "out_specialC40" = "mi_car_paint_phen_x1.ambient_level",
-	    "use_SpecialC41" = interface "use_SpecialC41",
-	    "out_specialC41" = "mi_car_paint_phen_x1.ambient_raw",
-	    "use_SpecialC42" off,
-	    "out_specialC42" 0. 0. 0. 1.,
-	    "use_SpecialC43" off,
-	    "out_specialC43" 0. 0. 0. 1.,
-	    "use_SpecialC44" off,
-	    "out_specialC44" 0. 0. 0. 1.,
-	    "use_SpecialC45" off,
-	    "out_specialC45" 0. 0. 0. 1.,
-	    "use_SpecialC46" off,
-	    "out_specialC46" 0. 0. 0. 1.,
-	    "use_SpecialC47" off,
-	    "out_specialC47" 0. 0. 0. 1.,
-	    "use_SpecialC48" off,
-	    "out_specialC48" 0. 0. 0. 1.,
-	    "use_SpecialC49" off,
-	    "out_specialC49" 0. 0. 0. 1.,
-	    "use_SpecialC50" = interface "use_SpecialC50",
-	    #"out_specialC50" 0. 0. 0. 1.,
-	    "use_SpecialC51" = interface "use_SpecialC51",
-		"out_specialC51" = interface "out_specialC51",
-		"use_SpecialC52" = interface "use_SpecialC52",
-		"out_specialC52" = interface "out_specialC52",
-		"use_SpecialC53" = interface "use_SpecialC53",
-		"out_specialC53" = interface "out_specialC53",
-		"use_SpecialC54" = interface "use_SpecialC54",
-		"out_specialC54" = interface "out_specialC54",
-		"use_SpecialC55" = interface "use_SpecialC55",
-		"out_specialC55" = interface "out_specialC55",
-		"use_SpecialC56" = interface "use_SpecialC56",
-		"out_specialC56" = interface "out_specialC56",
-		"use_SpecialC57" = interface "use_SpecialC57",
-		"out_specialC57" = interface "out_specialC57",
-		"use_SpecialC58" = interface "use_SpecialC58",
-		"out_specialC58" = interface "out_specialC58",
-		"use_SpecialC59" = interface "use_SpecialC59",
-		"out_specialC59" = interface "out_specialC59",
-		"use_SpecialC60" = interface "use_SpecialC60",
-		"out_specialC60" = interface "out_specialC60",
-	    "restore_normal" off
-	    )
-
-    root
-	= "deeX_Buffer_writter_car"
-    version 3
-    apply material
-	#: nodeid 335432
-end declare
-
-declare phenomenon
-    color 
-
-    "deeX_mi_metallic_paint" (
-
-	color       "ambient"           default 0 0 0 1,
-	color       "base_color"        default 0.245 0.245 0.8 1,
-	color       "edge_color"        default 0.0 0.0 0.0,
-	scalar      "edge_color_bias"   default 1.0,
-	color       "lit_color"         default 0.15 0.23 0.6,
-	scalar      "lit_color_bias"    default 8.0,
-
-	scalar      "diffuse_weight"    default 1.0,
-	scalar      "diffuse_bias"      default 1.5,
-	scalar      "irradiance_weight" default 1.0,
-
-	color       "spec"              default 1 1 1 1,
-	scalar      "spec_weight"       default 0.2,
-	scalar      "spec_exp"          default 60.0,
-	color       "spec_sec"          default 1 1 1 1,
-	scalar      "spec_sec_weight"   default 0.3,
-	scalar      "spec_sec_exp"      default 25.0,
-	boolean     "spec_glazing"      default on,
-
-	color       "flake_color"       default 1.0 1.0 1.0 1,
-	scalar      "flake_weight"      default 1.0,
-	scalar      "flake_reflect"     default 0.0,
-	scalar      "flake_exp"         default 45.0,
-	scalar      "flake_decay"       default 0.0,
-	shader      "flake_bump",
-
-	scalar      "global_weight"     default 1.0,
-
-	integer     "mode"              default 4,
-	boolean "use_SpecialC1",
-	boolean "use_SpecialC6",
-	boolean "use_SpecialC9",
-	boolean "use_SpecialC10",
-	boolean "use_SpecialC19",
-	boolean "use_SpecialC23",
-	boolean "use_SpecialC24",
-	boolean "use_SpecialC25",
-	boolean "use_SpecialC26",
-	boolean "use_SpecialC27",
-	boolean "use_SpecialC28",
-	boolean "use_SpecialC29",
-	boolean "use_SpecialC30",
-	boolean "use_SpecialC31",
-	boolean "use_SpecialC32",
-	boolean "use_SpecialC33",
-	boolean "use_SpecialC34",
-	boolean "use_SpecialC35",
-	boolean "use_SpecialC36",
-	boolean "use_SpecialC40",
-	boolean "use_SpecialC41",
-	boolean "use_SpecialC49",
-	boolean "use_SpecialC50",
-	boolean "use_SpecialC51",
-	color "out_specialC51"        		default 0.0 0.0 0.0,
-	boolean "use_SpecialC52",
-	color "out_specialC52"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC53",
-	color "out_specialC53"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC54",
-	color "out_specialC54"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC55",
-	color "out_specialC55"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC56",
-	color "out_specialC56"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC57",
-	color "out_specialC57"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC58",
-	color "out_specialC58"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC59",
-	color "out_specialC59"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC60",
-	color "out_specialC60"			default 0.0 0.0 0.0,
-	boolean 	"gamma_button"  	default off,
-	scalar 		"gamma" 			default 1.0,
-	boolean 	"reverse"      		default off
-	)
-	
-	# Gamma for ambient
-	
-	shader "deeX_mi_metallic_paint_mip_gamma_gainGamambient"
-	"mip_gamma_gain" (
-        "input" = interface "ambient",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for base_color
-	
-	shader "deeX_mi_metallic_paint_mip_gamma_gainGambase_color"
-	"mip_gamma_gain" (
-        "input" = interface "base_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for edge_color
-	
-	shader "deeX_mi_metallic_paint_mip_gamma_gainGamedge_color"
-	"mip_gamma_gain" (
-        "input" = interface "edge_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for lit_color
-	
-	shader "deeX_mi_metallic_paint_mip_gamma_gainGamlit_color"
-	"mip_gamma_gain" (
-        "input" = interface "lit_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for flake_color
-	
-	shader "deeX_mi_metallic_paint_mip_gamma_gainGamflake_color"
-	"mip_gamma_gain" (
-        "input" = interface "flake_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-
-    shader "mi_metallic_paint_x1"
-	"mi_metallic_paint_x" (
-	    "ambient" = "deeX_mi_metallic_paint_mip_gamma_gainGamambient",
-	    "base_color" = "deeX_mi_metallic_paint_mip_gamma_gainGambase_color",
-	    "edge_color" = "deeX_mi_metallic_paint_mip_gamma_gainGamedge_color",
-	    "edge_color_bias" = interface "edge_color_bias",
-	    "lit_color" = "deeX_mi_metallic_paint_mip_gamma_gainGamlit_color",
-	    "lit_color_bias" = interface "lit_color_bias",
-	    "diffuse_weight" = interface "diffuse_weight",
-	    "diffuse_bias" = interface "diffuse_bias",
-	    "irradiance_weight" = interface "irradiance_weight",
-	    "spec" = interface "spec",
-	    "spec_weight" = interface "spec_weight",
-	    "spec_exp" = interface "spec_exp",
-	    "spec_sec" = interface "spec_sec",
-	    "spec_sec_weight" = interface "spec_sec_weight",
-	    "spec_sec_exp" = interface "spec_sec_exp",
-	    "spec_glazing" = interface "spec_glazing",
-	    "flake_color" = "deeX_mi_metallic_paint_mip_gamma_gainGamflake_color",
-	    "flake_weight" = interface "flake_weight",
-	    "flake_reflect" = interface "flake_reflect",
-	    "flake_exp" = interface "flake_exp",
-	    "flake_decay" = interface "flake_decay",
-	    "mode" 4,
-		"global_weight" = interface "global_weight"
-	    )
-
-    shader "deeX_Buffer_writter_metallic"
-	"deeX_Buffer_writter" (
-	    "render" = "mi_metallic_paint_x1.result",
-	    "use_SpecialC1" = interface "use_SpecialC1",
-	    "out_specialC1" = "mi_metallic_paint_x1.diffuse_result",
-	    "use_SpecialC2" off,
-	    "out_specialC2" 0. 0. 0. 1.,
-	    "use_SpecialC3" off,
-	    "out_specialC3" 0. 0. 0. 1.,
-	    "use_SpecialC4" off,
-	    "out_specialC4" 0. 0. 0. 1.,
-	    "use_SpecialC5" off,
-	    "out_specialC5" 0. 0. 0. 1.,
-	    "use_SpecialC6" = interface "use_SpecialC6",
-	    "out_specialC6" = "mi_metallic_paint_x1.indirect_result",
-	    "use_SpecialC7" off,
-	    "out_specialC7" 0. 0. 0. 1.,
-	    "use_SpecialC8" off,
-	    "out_specialC8" 0. 0. 0. 1.,
-	    "use_SpecialC9" = interface "use_SpecialC9",
-	    "out_specialC9" = "mi_metallic_paint_x1.diffuse_raw",
-	    "use_SpecialC10" = interface "use_SpecialC10",
-	    "out_specialC10" = "mi_metallic_paint_x1.diffuse_level",
-	    "use_SpecialC11" off,
-	    "out_specialC11" 0. 0. 0. 1.,
-	    "use_SpecialC12" off,
-	    "out_specialC12" 0. 0. 0. 1.,
-	    "use_SpecialC13" off,
-	    "out_specialC13" 0. 0. 0. 1.,
-	    "use_SpecialC14" off,
-	    "out_specialC14" 0. 0. 0. 1.,
-	    "use_SpecialC15" off,
-	    "out_specialC15" 0. 0. 0. 1.,
-	    "use_SpecialC16" off,
-	    "out_specialC16" 0. 0. 0. 1.,
-	    "use_SpecialC17" off,
-	    "out_specialC17" 0. 0. 0. 1.,
-	    "use_SpecialC18" off,
-	    "out_specialC18" 0. 0. 0. 1.,
-	    "use_SpecialC19" = interface "use_SpecialC19",
-	    "out_specialC19" = "mi_metallic_paint_x1.indirect_raw",
-	    "use_SpecialC20" off,
-	    "out_specialC20" 0. 0. 0. 1.,
-	    "use_SpecialC21" off,
-	    "out_specialC21" 0. 0. 0. 1.,
-	    "use_SpecialC22" off,
-	    "out_specialC22" 0. 0. 0. 1.,
-	    "use_SpecialC23" = interface "use_SpecialC23",
-	    "out_specialC23" = "mi_metallic_paint_x1.ambient_result",
-	    "use_SpecialC24" = interface "use_SpecialC24",
-	    "out_specialC24" = "mi_metallic_paint_x1.spec1_result",
-	    "use_SpecialC25" = interface "use_SpecialC25",
-	    "out_specialC25" = "mi_metallic_paint_x1.spec1_raw",
-	    "use_SpecialC26" = interface "use_SpecialC26",
-	    "out_specialC26" = "mi_metallic_paint_x1.spec1_level",
-	    "use_SpecialC27" = interface "use_SpecialC27",
-	    "out_specialC27" = "mi_metallic_paint_x1.spec2_result",
-	    "use_SpecialC28" = interface "use_SpecialC28",
-	    "out_specialC28" = "mi_metallic_paint_x1.spec2_raw",
-	    "use_SpecialC29" = interface "use_SpecialC29",
-	    "out_specialC29" = "mi_metallic_paint_x1.spec2_level",
-	    "use_SpecialC30" = interface "use_SpecialC30",
-	    "out_specialC30" = "mi_metallic_paint_x1.flake_result",
-	    "use_SpecialC31" = interface "use_SpecialC31",
-	    "out_specialC31" = "mi_metallic_paint_x1.flake_raw",
-	    "use_SpecialC32" = interface "use_SpecialC32",
-	    "out_specialC32" = "mi_metallic_paint_x1.flake_level",
-	    "use_SpecialC33" = interface "use_SpecialC33",
-	    "out_specialC33" = "mi_metallic_paint_x1.flake_refl_result",
-	    "use_SpecialC34" = interface "use_SpecialC34",
-	    "out_specialC34" = "mi_metallic_paint_x1.flake_refl_raw",
-	    "use_SpecialC35" = interface "use_SpecialC35",
-	    "out_specialC35" = "mi_metallic_paint_x1.flake_refl_level",
-	    "use_SpecialC36" = interface "use_SpecialC36",
-	    "out_specialC36" = "mi_metallic_paint_x1.flake_normal",
-	    "use_SpecialC37" off,
-	    "out_specialC37" 0. 0. 0. 1.,
-	    "use_SpecialC38" off,
-	    "out_specialC38" 0. 0. 0. 1.,
-	    "use_SpecialC39" off,
-	    "out_specialC39" 0. 0. 0. 1.,
-	    "use_SpecialC40" = interface "use_SpecialC40",
-	    "out_specialC40" = "mi_metallic_paint_x1.ambient_level",
-	    "use_SpecialC41" = interface "use_SpecialC41",
-	    "out_specialC41" = "mi_metallic_paint_x1.ambient_raw",
-	    "use_SpecialC42" off,
-	    "out_specialC42" 0. 0. 0. 1.,
-	    "use_SpecialC43" off,
-	    "out_specialC43" 0. 0. 0. 1.,
-	    "use_SpecialC44" off,
-	    "out_specialC44" 0. 0. 0. 1.,
-	    "use_SpecialC45" off,
-	    "out_specialC45" 0. 0. 0. 1.,
-	    "use_SpecialC46" off,
-	    "out_specialC46" 0. 0. 0. 1.,
-	    "use_SpecialC47" off,
-	    "out_specialC47" 0. 0. 0. 1.,
-	    "use_SpecialC48" off,
-	    "out_specialC48" 0. 0. 0. 1.,
-		"use_SpecialC49" = interface "use_SpecialC54",
-	    "out_specialC49" = "mi_metallic_paint_x1.indirect_level",
-		"use_SpecialC50" = interface "use_SpecialC50",
-	    #"out_specialC50" 0. 0. 0. 1.,
-		"use_SpecialC51" = interface "use_SpecialC51",
-		"out_specialC51" = interface "out_specialC51",
-		"use_SpecialC52" = interface "use_SpecialC52",
-		"out_specialC52" = interface "out_specialC52",
-		"use_SpecialC53" = interface "use_SpecialC53",
-		"out_specialC53" = interface "out_specialC53",
-		"use_SpecialC54" = interface "use_SpecialC54",
-		"out_specialC54" = interface "out_specialC54",
-		"use_SpecialC55" = interface "use_SpecialC55",
-		"out_specialC55" = interface "out_specialC55",
-		"use_SpecialC56" = interface "use_SpecialC56",
-		"out_specialC56" = interface "out_specialC56",
-		"use_SpecialC57" = interface "use_SpecialC57",
-		"out_specialC57" = interface "out_specialC57",
-		"use_SpecialC58" = interface "use_SpecialC58",
-		"out_specialC58" = interface "out_specialC58",
-		"use_SpecialC59" = interface "use_SpecialC59",
-		"out_specialC59" = interface "out_specialC59",
-		"use_SpecialC60" = interface "use_SpecialC60",
-		"out_specialC60" = interface "out_specialC60",
-	    "restore_normal" off
-	    )
-
-    root
-	= "deeX_Buffer_writter_metallic"
-    version 3
-	apply material
-	#: nodeid 317883
-end declare
-
-declare phenomenon
-    color 
-
-    "deeX_misss_fast_shader" (
-		color texture "lightmap",
-        color texture "depthmap",
-        shader        "bump",
-        shader        "diffuse_illum",
-        color         "diffuse_color"    default 1 1 1,
-        shader        "specular_illum",
-
-        scalar        "diffuse_weight"   default 0.5,
-        color         "front_sss_color"  default 0.8 0.4 0.1,
-        scalar        "front_sss_weight" default 0.5,
-        scalar        "front_sss_radius" default 10,
-        color         "back_sss_color"   default 0.8 0.4 0.1,
-        scalar        "back_sss_weight"  default 0.5,
-        scalar        "back_sss_radius"  default 10,
-        scalar        "back_sss_depth",  # unassigned (zero) means "same as radius"
-        scalar        "scale_conversion" default 1.0,
-        boolean       "screen_composit"  default on,
-        boolean       "output_sss_only",
-        scalar        "falloff"          default 2.0,
-        integer       "samples"          default 64,
-		boolean "use_SpecialC1",
-		boolean "use_SpecialC9",
-		boolean "use_SpecialC10",
-		boolean "use_SpecialC42",
-		boolean "use_SpecialC43",
-		boolean "use_SpecialC44",
-		boolean "use_SpecialC45",
-		boolean "use_SpecialC46",
-		boolean "use_SpecialC47",
-		boolean "use_SpecialC48",
-		boolean "use_SpecialC50",
-		boolean "use_SpecialC51",
-		color "out_specialC51"        		default 0.0 0.0 0.0,
-		boolean "use_SpecialC52",
-		color "out_specialC52"				default 0.0 0.0 0.0,
-		boolean "use_SpecialC53",
-		color "out_specialC53"				default 0.0 0.0 0.0,
-		boolean "use_SpecialC54",
-		color "out_specialC54"				default 0.0 0.0 0.0,
-		boolean "use_SpecialC55",
-		color "out_specialC55"				default 0.0 0.0 0.0,
-		boolean "use_SpecialC56",
-		color "out_specialC56"				default 0.0 0.0 0.0,
-		boolean "use_SpecialC57",
-		color "out_specialC57"				default 0.0 0.0 0.0,
-		boolean "use_SpecialC58",
-		color "out_specialC58"				default 0.0 0.0 0.0,
-		boolean "use_SpecialC59",
-		color "out_specialC59"				default 0.0 0.0 0.0,
-		boolean "use_SpecialC60",
-		color "out_specialC60"			default 0.0 0.0 0.0,
-		boolean "gamma_button"  	  default off,
-		scalar 	"gamma" 			  	 default 1.0,
-		boolean "reverse"      		 	 default off
-	)
-
-	# Gamma for diffuse_color
-	
-	shader "deeX_misss_fast_shader_mip_gamma_gainGamdiffuse_color"
-	"mip_gamma_gain" (
-        "input" = interface "diffuse_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for front_sss_color
-	
-	shader "deeX_misss_fast_shader_mip_gamma_gainGamfront_sss_color"
-	"mip_gamma_gain" (
-        "input" = interface "front_sss_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for back_sss_color
-	
-	shader "deeX_misss_fast_shader_mip_gamma_gainGamback_sss_color"
-	"mip_gamma_gain" (
-        "input" = interface "back_sss_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-
-    shader "misss_fast_shader_x1"
-	"misss_fast_shader_x" (
-	    "lightmap" = interface "lightmap",
-        "depthmap" = interface "depthmap",
-        "bump" = interface "bump",
-        "diffuse_illum" = interface "diffuse_illum",
-        "diffuse_color" = "deeX_misss_fast_shader_mip_gamma_gainGamdiffuse_color",
-        "specular_illum" = interface "specular_illum",
-
-        "diffuse_weight" = interface "diffuse_weight",
-        "front_sss_color" = "deeX_misss_fast_shader_mip_gamma_gainGamfront_sss_color",
-        "front_sss_weight" = interface "front_sss_weight",
-        "front_sss_radius" = interface "front_sss_radius",
-        "back_sss_color" = "deeX_misss_fast_shader_mip_gamma_gainGamback_sss_color",
-        "back_sss_weight" = interface "back_sss_weight",
-        "back_sss_radius" = interface "back_sss_radius",
-        "back_sss_depth" = interface "back_sss_depth",
-        "scale_conversion" = interface "scale_conversion",
-        "screen_composit" = interface "screen_composit",
-        "output_sss_only" = interface "output_sss_only",
-        "falloff" = interface "falloff",
-        "samples" = interface "samples"
-	    )
-
-    shader "deeX_Buffer_writter1"
-	"deeX_Buffer_writter" (
-	    "render" = "misss_fast_shader_x1.result",
-	    "use_SpecialC1" = interface "use_SpecialC1",
-	    "out_specialC1" = "misss_fast_shader_x1.diffuse_result",
-	    "use_SpecialC2" off,
-	    "out_specialC2" 0. 0. 0. 1.,
-	    "use_SpecialC3" off,
-	    "out_specialC3" 0. 0. 0. 1.,
-	    "use_SpecialC4" off,
-	    "out_specialC4" 0. 0. 0. 1.,
-	    "use_SpecialC5" off,
-	    "out_specialC5" 0. 0. 0. 1.,
-	    "use_SpecialC6" off,
-	    "out_specialC6" 0. 0. 0. 1.,
-	    "use_SpecialC7" off,
-	    "out_specialC7" 0. 0. 0. 1.,
-	    "use_SpecialC8" off,
-	    "out_specialC8" 0. 0. 0. 1.,
-	    "use_SpecialC9" = interface "use_SpecialC9",
-	    "out_specialC9" = "misss_fast_shader_x1.diffuse_raw",
-	    "use_SpecialC10" = interface "use_SpecialC10",
-	    "out_specialC10" = "misss_fast_shader_x1.diffuse_level",
-	    "use_SpecialC11" off,
-	    "out_specialC11" 0. 0. 0. 1.,
-	    "use_SpecialC12" off,
-	    "out_specialC12" 0. 0. 0. 1.,
-	    "use_SpecialC13" off,
-	    "out_specialC13" 0. 0. 0. 1.,
-	    "use_SpecialC14" off,
-	    "out_specialC14" 0. 0. 0. 1.,
-	    "use_SpecialC15" off,
-	    "out_specialC15" 0. 0. 0. 1.,
-	    "use_SpecialC16" off,
-	    "out_specialC16" 0. 0. 0. 1.,
-	    "use_SpecialC17" off,
-	    "out_specialC17" 0. 0. 0. 1.,
-	    "use_SpecialC18" off,
-	    "out_specialC18" 0. 0. 0. 1.,
-	    "use_SpecialC19" off,
-	    "out_specialC19" 0. 0. 0. 1.,
-	    "use_SpecialC20" off,
-	    "out_specialC20" 0. 0. 0. 1.,
-	    "use_SpecialC21" off,
-	    "out_specialC21" 0. 0. 0. 1.,
-	    "use_SpecialC22" off,
-	    "out_specialC22" 0. 0. 0. 1.,
-	    "use_SpecialC23" off,
-	    "out_specialC23" 0. 0. 0. 1.,
-	    "use_SpecialC24" off,
-	    "out_specialC24" 0. 0. 0. 1.,
-	    "use_SpecialC25" off,
-	    "out_specialC25" 0. 0. 0. 1.,
-	    "use_SpecialC26" off,
-	    "out_specialC26" 0. 0. 0. 1.,
-	    "use_SpecialC27" off,
-	    "out_specialC27" 0. 0. 0. 1.,
-	    "use_SpecialC28" off,
-	    "out_specialC28" 0. 0. 0. 1.,
-	    "use_SpecialC29" off,
-	    "out_specialC29" 0. 0. 0. 1.,
-	    "use_SpecialC30" off,
-	    "out_specialC30" 0. 0. 0. 1.,
-	    "use_SpecialC31" off,
-	    "out_specialC31" 0. 0. 0. 1.,
-	    "use_SpecialC32" off,
-	    "out_specialC32" 0. 0. 0. 1.,
-	    "use_SpecialC33" off,
-	    "out_specialC33" 0. 0. 0. 1.,
-	    "use_SpecialC34" off,
-	    "out_specialC34" 0. 0. 0. 1.,
-	    "use_SpecialC35" off,
-	    "out_specialC35" 0. 0. 0. 1.,
-	    "use_SpecialC36" off,
-	    "out_specialC36" 0. 0. 0. 1.,
-	    "use_SpecialC37" off,
-	    "out_specialC37" 0. 0. 0. 1.,
-	    "use_SpecialC38" off,
-	    "out_specialC38" 0. 0. 0. 1.,
-	    "use_SpecialC39" off,
-	    "out_specialC39" 0. 0. 0. 1.,
-	    "use_SpecialC40" off,
-	    "out_specialC40" 0. 0. 0. 1.,
-	    "use_SpecialC41" off,
-	    "out_specialC41" 0. 0. 0. 1.,
-	    "use_SpecialC42" = interface "use_SpecialC42",
-	    "out_specialC42" = "misss_fast_shader_x1.front_result",
-	    "use_SpecialC43" = interface "use_SpecialC43",
-	    "out_specialC43" = "misss_fast_shader_x1.front_raw",
-	    "use_SpecialC44" = interface "use_SpecialC44",
-	    "out_specialC44" = "misss_fast_shader_x1.front_level",
-	    "use_SpecialC45" = interface "use_SpecialC45",
-	    "out_specialC45" = "misss_fast_shader_x1.back_result",
-	    "use_SpecialC46" = interface "use_SpecialC46",
-	    "out_specialC46" = "misss_fast_shader_x1.back_raw",
-	    "use_SpecialC47" = interface "use_SpecialC47",
-	    "out_specialC47" = "misss_fast_shader_x1.back_level",
-	    "use_SpecialC48" = interface "use_SpecialC48",
-	    "out_specialC48" = "misss_fast_shader_x1.specular_result",
-	    "use_SpecialC49" off,
-	    "out_specialC49" 0. 0. 0. 1.,
-	    "use_SpecialC50" = interface "use_SpecialC50",
-	    #"out_specialC50" 0. 0. 0. 1.,
-	    "use_SpecialC51" = interface "use_SpecialC51",
-		"out_specialC51" = interface "out_specialC51",
-		"use_SpecialC52" = interface "use_SpecialC52",
-		"out_specialC52" = interface "out_specialC52",
-		"use_SpecialC53" = interface "use_SpecialC53",
-		"out_specialC53" = interface "out_specialC53",
-		"use_SpecialC54" = interface "use_SpecialC54",
-		"out_specialC54" = interface "out_specialC54",
-		"use_SpecialC55" = interface "use_SpecialC55",
-		"out_specialC55" = interface "out_specialC55",
-		"use_SpecialC56" = interface "use_SpecialC56",
-		"out_specialC56" = interface "out_specialC56",
-		"use_SpecialC57" = interface "use_SpecialC57",
-		"out_specialC57" = interface "out_specialC57",
-		"use_SpecialC58" = interface "use_SpecialC58",
-		"out_specialC58" = interface "out_specialC58",
-		"use_SpecialC59" = interface "use_SpecialC59",
-		"out_specialC59" = interface "out_specialC59",
-		"use_SpecialC60" = interface "use_SpecialC60",
-		"out_specialC60" = interface "out_specialC60",
-	    "restore_normal" off
-	    )
-
-    root
-	= "deeX_Buffer_writter1"
-    version 3
-    apply material
-	#: nodeid 1161693
-end declare
-
-declare phenomenon
-    color 
-
-    "deeX_mia_material" (
-	
-	scalar  "diffuse_weight"      default 1.0, #: min 0.0 max 1.0
-	color   "diffuse"             default 0.5 0.5 0.5,
-	scalar  "diffuse_roughness"   default 0.0, #: min 0.0 max 1.0
-	scalar  "reflectivity"        default 0.6, #: min 0.0 max 1.0
-	color   "refl_color"          default 1.0 1.0 1.0,
-	scalar  "refl_gloss"          default 1.0, #: min 0.0 max 1.0 softmin 0.15
-	integer "refl_gloss_samples"  default 8,   #: min 0 softmax 128
-	boolean "refl_interpolate"    default off,
-	boolean "refl_hl_only"        default off,
-	boolean "refl_is_metal"       default off,
-
-	scalar  "transparency"        default 0.0, #: min 0.0 max 1.0
-	color   "refr_color"          default 1.0 1.0 1.0,
-	scalar  "refr_gloss"          default 1.0, #: min 0.0 max 1.0
-	scalar  "refr_ior"            default 1.4, #: min 0.1 softmax 2.0
-	integer "refr_gloss_samples"  default 8,   #: min 0 softmax 128
-	boolean "refr_interpolate"    default off,
-	boolean "refr_translucency"   default off,
-	color   "refr_trans_color"    default 0.7 0.6 0.5,
-	scalar  "refr_trans_weight"   default 0.5, #: min 0.0 max 1.0
-
-	scalar  "anisotropy"          default 1.0, #: min 0.1 softmax 10
-	scalar  "anisotropy_rotation" default 0.0, #: softmin 0 softmax 1
-	integer "anisotropy_channel"  default -1,  #: min -4  softmax 64
-
-	boolean "brdf_fresnel"         default off,
-	scalar  "brdf_0_degree_refl"   default 0.2, #: min 0.0 max 1.0
-	scalar  "brdf_90_degree_refl"  default 1.0, #: min 0.0 max 1.0
-	scalar  "brdf_curve"           default 5.0, #: min 0.1 softmax 20
-	boolean "brdf_conserve_energy" default on,
-
-	# Interpolation settings
-	
-	integer "intr_grid_density"   default 2,    #: min 0 max 5 enum "2 (double):1 (same as rendering):1/2 (half resolution):1/3 (third resolution):1/4 (quarter resolution):1/5 (fifth resolution)"
-	integer "intr_refl_samples"   default 2,    #: min 0 softmax 5
-	boolean "intr_refl_ddist_on"  default off,
-	scalar  "intr_refl_ddist"     default 0.0,
-	integer "intr_refr_samples"   default 2,    #: min 0 softmax 5
-	boolean "single_env_sample"   default off,
-
-	# Reflection/Refraction optimizations & falloffs
-
-	boolean  "refl_falloff_on"       default off,
-	scalar   "refl_falloff_dist"     default 0.0,
-	boolean  "refl_falloff_color_on" default off,
-	color    "refl_falloff_color"    default 0 0 0,
-	
-	integer  "refl_depth"            default 5,    #: min 0 softmax 10
-	scalar   "refl_cutoff"           default 0.01, #: min 0.0 max 1.0
-
-	boolean  "refr_falloff_on"       default off,
-	scalar   "refr_falloff_dist"     default 0.0,
-	boolean  "refr_falloff_color_on" default off,
-	color    "refr_falloff_color"    default 0 0 0,
-	integer  "refr_depth"            default 5,    #: min 0 softmax 10
-	scalar   "refr_cutoff"           default 0.01, #: min 0.0 max 1.0
-
-	# Factors
-
-	scalar   "indirect_multiplier"   default 1.0,  #: min 0 softmax 1.0
-	scalar   "fg_quality"            default 1.0,  #: min 0 softmax 10.0
-	scalar   "fg_quality_w"          default 1.0,  #: min 0 softmax 1.0
-
-	# Built in AO
-	
-	boolean  "ao_on"          default off,
-	integer  "ao_samples"     default 16,          #: min 0 softmax 128
-	scalar   "ao_distance"    default 10.0,
-	color    "ao_dark"        default 0.2 0.2 0.2,
-	color    "ao_ambient"     default 0.0 0.0 0.0,
-	integer  "ao_do_details"  default 1,           #: min 0 max 2 enum "Off:On:With color bleed"
-
-	# Options
-
-	boolean  "thin_walled"            default off,
-	boolean  "no_visible_area_hl"     default on,
-	boolean  "skip_inside_refl"       default on,
-	boolean  "do_refractive_caustics" default off,
-	boolean  "backface_cull"          default off,
-	boolean  "propagate_alpha"        default off,    
-
-	# Other effects
-	
-	scalar   "hl_vs_refl_balance"     default 1.0,   #: min 0.0 softmax 1.0
-	scalar   "cutout_opacity"         default 1.0,   #: min 0.0 max 1.0
-	color    "additional_color"       default 0 0 0 0,
-	shader   "bump",
-	boolean  "no_diffuse_bump"        default off,
-
-	integer     "mode"                default 4,	#: property "lightmode"
-	array light "lights",				#: property "lightlink"
-
-	# Additional bump handling
-	integer     "bump_mode"			  default 5, 
-	vector      "overall_bump",
-	vector      "standard_bump",
-	boolean "use_SpecialC1",
-	boolean "use_SpecialC2",
-	boolean "use_SpecialC3",
-	boolean "use_SpecialC4",
-	boolean "use_SpecialC5",
-	boolean "use_SpecialC6",
-	boolean "use_SpecialC7",
-	boolean "use_SpecialC8",
-	boolean "use_SpecialC9",
-	boolean "use_SpecialC10",
-	boolean "use_SpecialC11",
-	boolean "use_SpecialC12",
-	boolean "use_SpecialC13",
-	boolean "use_SpecialC14",
-	boolean "use_SpecialC15",
-	boolean "use_SpecialC16",
-	boolean "use_SpecialC17",
-	boolean "use_SpecialC18",
-	boolean "use_SpecialC19",
-	boolean "use_SpecialC20",
-	boolean "use_SpecialC21",
-	boolean "use_SpecialC22",
-	boolean "use_SpecialC50",
-	boolean "use_SpecialC51",
-	color "out_specialC51"        		default 0.0 0.0 0.0,
-	boolean "use_SpecialC52",
-	color "out_specialC52"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC53",
-	color "out_specialC53"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC54",
-	color "out_specialC54"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC55",
-	color "out_specialC55"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC56",
-	color "out_specialC56"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC57",
-	color "out_specialC57"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC58",
-	color "out_specialC58"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC59",
-	color "out_specialC59"				default 0.0 0.0 0.0,
-	boolean "use_SpecialC60",
-	color "out_specialC60"			default 0.0 0.0 0.0,
-	boolean "gamma_button"  	  default off,
-	scalar 	"gamma" 			  default 1.0,
-	boolean "reverse"      		  default off
-	)	
-	
-	# Gamma for diffuse
-	
-	shader "deex_mia_material_mip_gamma_gainGamDiffuse"
-	"mip_gamma_gain" (
-        "input" = interface "diffuse",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for refl_falloff_color
-	
-	shader "deex_mia_material_mip_gamma_gainGamrefl_falloff_color"
-	"mip_gamma_gain" (
-        "input" = interface "refl_falloff_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for refr_falloff_color
-	
-	shader "deex_mia_material_mip_gamma_gainGamrefr_falloff_color"
-	"mip_gamma_gain" (
-        "input" = interface "refr_falloff_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for refr_trans_color
-	
-	shader "deex_mia_material_mip_gamma_gainGamrefr_trans_color"
-	"mip_gamma_gain" (
-        "input" = interface "refr_trans_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# Gamma for additional_color
-	
-	shader "deex_mia_material_mip_gamma_gainGamadditional_color"
-	"mip_gamma_gain" (
-        "input" = interface "additional_color",
-		"gamma" = interface "gamma",
-		"gain" 1,
-		"reverse" = interface "reverse"
-    )
-	
-	# start shader
-	
-    shader "deex_mia_mat"
-	"mia_material_x" (
-		"diffuse_weight" = interface "diffuse_weight",
-		"diffuse" = "deex_mia_material_mip_gamma_gainGamDiffuse",
-		"diffuse_roughness" = interface "diffuse_roughness",
-		"reflectivity" = interface "reflectivity",
-		"refl_color" = interface "refl_color",
-		"refl_gloss" = interface "refl_gloss",
-		"refl_gloss_samples" = interface "refl_gloss_samples",
-	    "refl_interpolate" = interface "refl_interpolate",
-		"refl_hl_only" = interface "refl_hl_only",
-		"refl_is_metal" = interface "refl_is_metal",
-		"transparency" = interface "transparency",
-		"refr_color" = interface "refr_color",
-		"refr_gloss" = interface "refr_gloss",
-		"refr_ior" = interface "refr_ior",
-	    "refr_gloss_samples" = interface "refr_gloss_samples",
-		"refr_interpolate" = interface "refr_interpolate",
-		"refr_translucency" = interface "refr_translucency",
-		"refr_trans_color" = "deex_mia_material_mip_gamma_gainGamrefr_trans_color",
-		"refr_trans_weight" = interface "refr_trans_weight",
-		"anisotropy" = interface "anisotropy",
-		"anisotropy_rotation" = interface "anisotropy_rotation",
-		"anisotropy_channel" = interface "anisotropy_channel",
-	    "brdf_fresnel" = interface "brdf_fresnel",
-		"brdf_0_degree_refl" = interface "brdf_0_degree_refl",
-		"brdf_90_degree_refl" = interface "brdf_90_degree_refl",
-		"brdf_curve" = interface "brdf_curve",
-		"brdf_conserve_energy" = interface "brdf_conserve_energy",
-		"intr_grid_density" = interface "intr_grid_density",
-		"intr_refl_samples" = interface "intr_refl_samples",
-		"intr_refl_ddist_on" = interface "intr_refl_ddist_on",
-		"intr_refl_ddist" = interface "intr_refl_ddist",
-		"intr_refr_samples" = interface "intr_refr_samples",
-		"single_env_sample" = interface "single_env_sample",
-	    "refl_falloff_on" = interface "refl_falloff_on",
-		"refl_falloff_dist" = interface "refl_falloff_dist",
-		"refl_falloff_color_on" = interface "refl_falloff_color_on",
-		"refl_falloff_color" = "deex_mia_material_mip_gamma_gainGamrefl_falloff_color",
-		"refl_depth" = interface "refl_depth",
-		"refl_cutoff" = interface "refl_cutoff",
-		"refr_falloff_on" = interface "refr_falloff_on",
-		"refr_falloff_dist" = interface "refr_falloff_dist",
-		"refr_falloff_color_on" = interface "refr_falloff_color_on",
-		"refr_falloff_color" = "deex_mia_material_mip_gamma_gainGamrefr_falloff_color",
-		"refr_depth" = interface "refr_depth",
-		"refr_cutoff" = interface "refr_cutoff",
-	    "indirect_multiplier" = interface "indirect_multiplier",
-		"fg_quality" = interface "fg_quality",
-		"fg_quality_w" = interface "fg_quality_w",
-		"ao_on" = interface "ao_on",
-		"ao_samples" = interface "ao_samples",
-		"ao_distance" = interface "ao_distance",
-		"ao_dark" = interface "ao_dark",
-		"ao_ambient" = interface "ao_ambient",
-		"ao_do_details" = interface "ao_do_details",
-		"thin_walled" = interface "thin_walled",
-	    "no_visible_area_hl" = interface "no_visible_area_hl",
-		"skip_inside_refl" = interface "skip_inside_refl",
-		"do_refractive_caustics" = interface "do_refractive_caustics",
-	    "backface_cull" = interface "backface_cull",
-		"propagate_alpha" = interface "propagate_alpha",
-		"hl_vs_refl_balance" = interface "hl_vs_refl_balance",
-	    "cutout_opacity" = interface "cutout_opacity",
-		"additional_color" = "deex_mia_material_mip_gamma_gainGamadditional_color",
-		"bump" = interface "bump",
-		"no_diffuse_bump" = interface "no_diffuse_bump",
-		"mode" 4,
-		"lights" [],
-		"bump_mode" = interface "bump_mode",
-		"overall_bump" = interface "overall_bump",
-		"standard_bump" = interface "standard_bump",
-		"multiple_outputs" on
-	    )
-		
-    shader "deeX_Buffer_writter1"
-	"deeX_Buffer_writter" (
-	    "render" = "deex_mia_mat.result",
-	    "use_SpecialC1" = interface "use_SpecialC1",
-	    "out_specialC1" = "deex_mia_mat.diffuse_result",
-	    "use_SpecialC2" = interface "use_SpecialC2",
-	    "out_specialC2" = "deex_mia_mat.spec_result",
-	    "use_SpecialC3" = interface "use_SpecialC3",
-	    "out_specialC3" = "deex_mia_mat.refl_result",
-	    "use_SpecialC4" = interface "use_SpecialC4",
-	    "out_specialC4" = "deex_mia_mat.refr_result",
-	    "use_SpecialC5" = interface "use_SpecialC5",
-	    "out_specialC5" = "deex_mia_mat.tran_result",
-	    "use_SpecialC6" = interface "use_SpecialC6",
-	    "out_specialC6" = "deex_mia_mat.indirect_result",
-	    "use_SpecialC7" = interface "use_SpecialC7",
-	    "out_specialC7" = "deex_mia_mat.add_result",
-	    "use_SpecialC8" = interface "use_SpecialC8",
-	    "out_specialC8" = "deex_mia_mat.opacity_result",
-	    "use_SpecialC9" = interface "use_SpecialC9",
-	    "out_specialC9" = "deex_mia_mat.diffuse_raw",
-	    "use_SpecialC10" = interface "use_SpecialC10",
-	    "out_specialC10" = "deex_mia_mat.diffuse_level",
-	    "use_SpecialC11" = interface "use_SpecialC11",
-	    "out_specialC11" = "deex_mia_mat.spec_raw",
-	    "use_SpecialC12" = interface "use_SpecialC12",
-	    "out_specialC12" = "deex_mia_mat.spec_level",
-	    "use_SpecialC13" = interface "use_SpecialC13",
-	    "out_specialC13" = "deex_mia_mat.refl_raw",
-	    "use_SpecialC14" = interface "use_SpecialC14",
-	    "out_specialC14" = "deex_mia_mat.refl_level",
-	    "use_SpecialC15" = interface "use_SpecialC15",
-	    "out_specialC15" = "deex_mia_mat.refr_raw",
-	    "use_SpecialC16" = interface "use_SpecialC16",
-	    "out_specialC16" = "deex_mia_mat.refr_level",
-	    "use_SpecialC17" = interface "use_SpecialC17",
-	    "out_specialC17" = "deex_mia_mat.tran_raw",
-	    "use_SpecialC18" = interface "use_SpecialC18",
-	    "out_specialC18" = "deex_mia_mat.tran_level",
-	    "use_SpecialC19" = interface "use_SpecialC19",
-	    "out_specialC19" = "deex_mia_mat.indirect_raw",
-	    "use_SpecialC20" = interface "use_SpecialC20",
-	    "out_specialC20" = "deex_mia_mat.indirect_post_ao",
-	    "use_SpecialC21" = interface "use_SpecialC21",
-	    "out_specialC21" = "deex_mia_mat.ao_raw",
-	    "use_SpecialC22" = interface "use_SpecialC22",
-	    "out_specialC22" = "deex_mia_mat.opacity_raw",
-	    "use_SpecialC23" off,
-	    "out_specialC23" 0. 0. 0. 1.,
-	    "use_SpecialC24" off,
-	    "out_specialC24" 0. 0. 0. 1.,
-	    "use_SpecialC25" off,
-	    "out_specialC25" 0. 0. 0. 1.,
-	    "use_SpecialC26" off,
-	    "out_specialC26" 0. 0. 0. 1.,
-	    "use_SpecialC27" off,
-	    "out_specialC27" 0. 0. 0. 1.,
-	    "use_SpecialC28" off,
-	    "out_specialC28" 0. 0. 0. 1.,
-	    "use_SpecialC29" off,
-	    "out_specialC29" 0. 0. 0. 1.,
-	    "use_SpecialC30" off,
-	    "out_specialC30" 0. 0. 0. 1.,
-	    "use_SpecialC31" off,
-	    "out_specialC31" 0. 0. 0. 1.,
-	    "use_SpecialC32" off,
-	    "out_specialC32" 0. 0. 0. 1.,
-	    "use_SpecialC33" off,
-	    "out_specialC33" 0. 0. 0. 1.,
-	    "use_SpecialC34" off,
-	    "out_specialC34" 0. 0. 0. 1.,
-	    "use_SpecialC35" off,
-	    "out_specialC35" 0. 0. 0. 1.,
-	    "use_SpecialC36" off,
-	    "out_specialC36" 0. 0. 0. 1.,
-	    "use_SpecialC37" off,
-	    "out_specialC37" 0. 0. 0. 1.,
-	    "use_SpecialC38" off,
-	    "out_specialC38" 0. 0. 0. 1.,
-	    "use_SpecialC39" off,
-	    "out_specialC39" 0. 0. 0. 1.,
-	    "use_SpecialC40" off,
-	    "out_specialC40" 0. 0. 0. 1.,
-	    "use_SpecialC41" off,
-	    "out_specialC41" 0. 0. 0. 1.,
-	    "use_SpecialC42" off,
-	    "out_specialC42" 0. 0. 0. 1.,
-	    "use_SpecialC43" off,
-	    "out_specialC43" 0. 0. 0. 1.,
-	    "use_SpecialC44" off,
-	    "out_specialC44" 0. 0. 0. 1.,
-	    "use_SpecialC45" off,
-	    "out_specialC45" 0. 0. 0. 1.,
-	    "use_SpecialC46" off,
-	    "out_specialC46" 0. 0. 0. 1.,
-	    "use_SpecialC47" off,
-	    "out_specialC47" 0. 0. 0. 1.,
-	    "use_SpecialC48" off,
-	    "out_specialC48" 0. 0. 0. 1.,
-	    "use_SpecialC49" off,
-	    "out_specialC49" 0. 0. 0. 1.,
-	    "use_SpecialC50" = interface "use_SpecialC50",
-	    #"out_specialC50" 0. 0. 0. 1.,
-	    "use_SpecialC51" = interface "use_SpecialC51",
-		"out_specialC51" = interface "out_specialC51",
-		"use_SpecialC52" = interface "use_SpecialC52",
-		"out_specialC52" = interface "out_specialC52",
-		"use_SpecialC53" = interface "use_SpecialC53",
-		"out_specialC53" = interface "out_specialC53",
-		"use_SpecialC54" = interface "use_SpecialC54",
-		"out_specialC54" = interface "out_specialC54",
-		"use_SpecialC55" = interface "use_SpecialC55",
-		"out_specialC55" = interface "out_specialC55",
-		"use_SpecialC56" = interface "use_SpecialC56",
-		"out_specialC56" = interface "out_specialC56",
-		"use_SpecialC57" = interface "use_SpecialC57",
-		"out_specialC57" = interface "out_specialC57",
-		"use_SpecialC58" = interface "use_SpecialC58",
-		"out_specialC58" = interface "out_specialC58",
-		"use_SpecialC59" = interface "use_SpecialC59",
-		"out_specialC59" = interface "out_specialC59",
-		"use_SpecialC60" = interface "use_SpecialC60",
-		"out_specialC60" = interface "out_specialC60",
-	    "restore_normal" off
-	    )
-	
-	shader "mip_rayswitch_advanced1"
-	"mip_rayswitch_advanced" (
-        "eye" "deeX_Buffer_writter1",
-		"transparent" "deex_mia_mat",
-        "shadow" "deex_mia_mat",
-        "photon" "deex_mia_mat",
-        "default" "deeX_Buffer_writter1"
-    )
-
-    root
-	= "mip_rayswitch_advanced1"
-    version 3
-    apply material, photon, shadow
-	#: nodeid 3335603
-end declare
-
-$endif # if not "deeX_phenomena_mi_included"

release/mentalray/include/deeX_Buffers_pass.mi

 		boolean 	"specialC57_pass",	#: shortname "sc57pa" default 0	
 		boolean 	"specialC58_pass",	#: shortname "sc58pa" default 0	
 		boolean 	"specialC59_pass",	#: shortname "sc59pa" default 0	
-		boolean 	"specialC60_pass"	#: shortname "sc60pa" default 0	
+		boolean 	"specialC60_pass",	#: shortname "sc60pa" default 0	
+		boolean 	"modifyCamera", 	#: shortname modifyCamera
+		integer 	"stereoMode", 		#: shortname stereoMode enum "off:toein:offaxis:offset"
+		scalar 		"eyeDist"		#: default 6.5 shortname eyeDist
 	)
 	version 1
 	apply geometry
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.