亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? examples-advanced.material

?? 使用stl技術,(還沒看,是聽說的)
?? MATERIAL
?? 第 1 頁 / 共 2 頁
字號:
// -------------------------------
// Cel Shading Section
// -------------------------------
vertex_program Ogre/CelShadingVP cg
{
	source Example_CelShading.cg
	entry_point main_vp
	profiles vs_1_1 arbvp1

	default_params
	{
		param_named_auto lightPosition light_position_object_space 0
		param_named_auto eyePosition camera_position_object_space
		param_named_auto worldViewProj worldviewproj_matrix
		param_named shininess float 10 
	}
}

fragment_program Ogre/CelShadingFP cg
{
	source Example_CelShading.cg
	entry_point main_fp
	profiles ps_1_1 arbfp1 fp20
}


material Examples/CelShading
{
	technique
	{
		pass
		{
			vertex_program_ref Ogre/CelShadingVP
			{
				// map shininess from custom renderable param 1
				param_named_auto shininess custom 1
			}
			fragment_program_ref Ogre/CelShadingFP
			{
				// map diffuse from custom renderable param 2
				param_named_auto diffuse custom 2
				// map specular from custom renderable param 2
				param_named_auto specular custom 3
			}
			texture_unit
			{
				texture cel_shading_diffuse.png 1d
				tex_address_mode clamp
				filtering none
			}
			texture_unit
			{
				texture cel_shading_specular.png 1d
				tex_address_mode clamp
				filtering none
				tex_coord_set 1
			}
			texture_unit
			{
				texture cel_shading_edge.png 1d
				tex_address_mode clamp
				filtering none
				tex_coord_set 2
			}
		}
	}
	
}



//------------------------
// Bump mapping section
//------------------------

// Bump map vertex program, support for this is required
vertex_program Examples/BumpMapVP cg
{
	source Example_BumpMapping.cg
	entry_point main_vp
	profiles vs_1_1 arbvp1
}

// Bump map fragment program, support for this is optional
fragment_program Examples/BumpMapFP cg
{
	source Example_BumpMapping.cg
	entry_point main_fp
	profiles ps_1_1 arbfp1 fp20
}

// Bump map with specular vertex program, support for this is required
vertex_program Examples/BumpMapVPSpecular cg
{
	source Example_BumpMapping.cg
	entry_point specular_vp
	profiles vs_1_1 arbvp1
}

// Bump map fragment program, support for this is optional
fragment_program Examples/BumpMapFPSpecular cg
{
	source Example_BumpMapping.cg
	entry_point specular_fp
	profiles ps_1_1 arbfp1 fp20
}

// Single light material, less passes (one pass on a 4-unit card)
material Examples/BumpMapping/SingleLight
{
	// Preferred technique, uses vertex and fragment programs
	// to support a single coloured light
	technique
	{
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 0 0 0 
			// Vertex program reference
			vertex_program_ref Examples/BumpMapVP
			{
				param_named_auto lightPosition light_position_object_space 0
				param_named_auto eyePosition camera_position_object_space
				param_named_auto worldViewProj worldviewproj_matrix
			}

			// Fragment program
			fragment_program_ref Examples/BumpMapFP
			{
				param_named_auto lightDiffuse light_diffuse_colour 0 
			}
			
			// Base bump map
			texture_unit
			{
				texture NMBumpsOut.png
				colour_op replace
			}
			// Normalisation cube map
			texture_unit
			{
				cubic_texture nm.png combinedUVW
				tex_coord_set 1
				tex_address_mode clamp
			}
			// Decal
			texture_unit
			{
				texture RustySteel.jpg
			}
		}
	}
	// Fallback technique, uses vertex program but only fixed-function
	// fragment shading, which does not support coloured light
	technique
	{
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 0 0 0 
			// Vertex program reference
			vertex_program_ref Examples/BumpMapVP
			{
				param_named_auto lightPosition light_position_object_space 0
				param_named_auto eyePosition camera_position_object_space
				param_named_auto worldViewProj worldviewproj_matrix
			}

			// Base bump map
			texture_unit
			{
				texture NMBumpsOut.png
				colour_op replace
			}
			// Normalisation cube map
			texture_unit
			{
				cubic_texture nm.png combinedUVW
				tex_coord_set 1
				tex_address_mode clamp
				colour_op_ex dotproduct src_texture src_current
				colour_op_multipass_fallback dest_colour zero
			}
			// Decal
			texture_unit
			{
				texture RustySteel.jpg
			}
		}
	}
}

// Any number of lights, diffuse
material Examples/BumpMapping/MultiLight
{

	// This is the preferred technique which uses both vertex and
	// fragment programs, supports coloured lights
	technique
	{
		// Base ambient pass
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 1 1 1
			diffuse 0 0 0 
			specular 0 0 0 0 
			// Really basic vertex program
			// NB we don't use fixed function here because GL does not like
			// mixing fixed function and vertex programs, depth fighting can
			// be an issue
			vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTexture
			{
				param_named_auto worldViewProj worldviewproj_matrix
				param_named_auto ambient ambient_light_colour
			}
			
		}
		// Now do the lighting pass
		// NB we don't do decal texture here because this is repeated per light
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 0 0 0 
			
			// do this for each light
			iteration once_per_light

		
			scene_blend add

			// Vertex program reference
			vertex_program_ref Examples/BumpMapVP
			{
				param_named_auto lightPosition light_position_object_space 0
				param_named_auto eyePosition camera_position_object_space
				param_named_auto worldViewProj worldviewproj_matrix
			}

			// Fragment program
			fragment_program_ref Examples/BumpMapFP
			{
				param_named_auto lightDiffuse light_diffuse_colour 0 
			}
			
			// Base bump map
			texture_unit
			{
				texture NMBumpsOut.png
				colour_op replace
			}
			// Normalisation cube map
			texture_unit
			{
				cubic_texture nm.png combinedUVW
				tex_coord_set 1
				tex_address_mode clamp
			}
		}
		
		// Decal pass
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			lighting off
			// Really basic vertex program
			// NB we don't use fixed function here because GL does not like
			// mixing fixed function and vertex programs, depth fighting can
			// be an issue
			vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTexture
			{
				param_named_auto worldViewProj worldviewproj_matrix
				param_named ambient float4 1 1 1 1
			}
			scene_blend dest_colour zero
			texture_unit
			{
				texture RustedMetal.jpg 
			}
			
		}
	}

	// This is the fallback which cards which don't have fragment program 
	// support will use
	// Note that it still requires vertex program support
	technique
	{
		// Base ambient pass
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 1 1 1
			diffuse 0 0 0 
			specular 0 0 0 0
			// Really basic vertex program
			// NB we don't use fixed function here because GL does not like
			// mixing fixed function and vertex programs, depth fighting can
			// be an issue
			vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTexture
			{
				param_named_auto worldViewProj worldviewproj_matrix
				param_named_auto ambient ambient_light_colour
			}
			
		}
		// Now do the lighting pass
		// NB we don't do decal texture here because this is repeated per light
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 0 0 0 
			// do this for each light
			iteration once_per_light

		
			scene_blend add

			// Vertex program reference
			vertex_program_ref Examples/BumpMapVP
			{
				param_named_auto lightPosition light_position_object_space 0
				param_named_auto eyePosition camera_position_object_space
				param_named_auto worldViewProj worldviewproj_matrix
			}
			
			// Base bump map
			texture_unit
			{
				texture NMBumpsOut.png
				colour_op replace
			}
			// Normalisation cube map, with dot product on bump map
			texture_unit
			{
				cubic_texture nm.png combinedUVW
				tex_coord_set 1
				tex_address_mode clamp
				colour_op_ex dotproduct src_texture src_current
				colour_op_multipass_fallback dest_colour zero
			}
		}
		
		// Decal pass
		pass
		{
			lighting off
			// Really basic vertex program
			// NB we don't use fixed function here because GL does not like
			// mixing fixed function and vertex programs, depth fighting can
			// be an issue
			vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTexture
			{
				param_named_auto worldViewProj worldviewproj_matrix
				param_named ambient float4 1 1 1 1
			}
			scene_blend dest_colour zero
			texture_unit
			{
				texture RustedMetal.jpg 
			}
			
		}

	}
}

// Any number of lights, diffuse and specular
material Examples/BumpMapping/MultiLightSpecular
{

	// This is the preferred technique which uses both vertex and
	// fragment programs, supports coloured lights
	technique
	{
		// Base ambient pass
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 1 1 1
			diffuse 0 0 0 
			specular 0 0 0 0
			// Really basic vertex program
			// NB we don't use fixed function here because GL does not like
			// mixing fixed function and vertex programs, depth fighting can
			// be an issue
			vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTexture
			{
				param_named_auto worldViewProj worldviewproj_matrix
				param_named_auto ambient ambient_light_colour
			}
			
		}
		// Now do the lighting pass
		// NB we don't do decal texture here because this is repeated per light
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 0 0 0 
			// do this for each light
			iteration once_per_light

		
			scene_blend add

			// Vertex program reference
			vertex_program_ref Examples/BumpMapVPSpecular
			{
				param_named_auto lightPosition light_position_object_space 0
				param_named_auto eyePosition camera_position_object_space
				param_named_auto worldViewProj worldviewproj_matrix
			}

			// Fragment program
			fragment_program_ref Examples/BumpMapFPSpecular
			{
				param_named_auto lightDiffuse light_diffuse_colour 0 
				param_named_auto lightSpecular light_specular_colour 0
			}
			
			// Base bump map
			texture_unit
			{
				texture NMBumpsOut.png
				colour_op replace
			}
			// Normalisation cube map
			texture_unit
			{
				cubic_texture nm.png combinedUVW
				tex_coord_set 1
				tex_address_mode clamp
			}
			// Normalisation cube map #2
			texture_unit
			{
				cubic_texture nm.png combinedUVW
				tex_coord_set 2
				tex_address_mode clamp
			}
		}
		
		// Decal pass
		pass
		{
			lighting off
			// Really basic vertex program
			// NB we don't use fixed function here because GL does not like
			// mixing fixed function and vertex programs, depth fighting can
			// be an issue
			vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTexture
			{
				param_named_auto worldViewProj worldviewproj_matrix
				param_named ambient float4 1 1 1 1
			}
			scene_blend dest_colour zero
			texture_unit
			{
				texture RustedMetal.jpg 
			}
			
		}
	}

	// This is the fallback which cards which don't have fragment program 
	// support will use, NB does not support specular colour
	// Note that it still requires vertex program support
	technique
	{
		// Base ambient pass
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 1 1 1
			diffuse 0 0 0 
			specular 0 0 0 0
			// Really basic vertex program
			// NB we don't use fixed function here because GL does not like
			// mixing fixed function and vertex programs, depth fighting can
			// be an issue
			vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTexture
			{
				param_named_auto worldViewProj worldviewproj_matrix
				param_named_auto ambient ambient_light_colour
			}
			
		}
		// Now do the lighting pass
		// NB we don't do decal texture here because this is repeated per light
		pass
		{
			// base colours, not needed for rendering, but as information
			// to lighting pass categorisation routine
			ambient 0 0 0 
			// do this for each light
			iteration once_per_light

		
			scene_blend add

			// Vertex program reference
			vertex_program_ref Examples/BumpMapVP
			{
				param_named_auto lightPosition light_position_object_space 0
				param_named_auto eyePosition camera_position_object_space
				param_named_auto worldViewProj worldviewproj_matrix
			}
			
			// Base bump map
			texture_unit
			{
				texture NMBumpsOut.png
				colour_op replace
			}
			// Normalisation cube map, with dot product on bump map
			texture_unit
			{
				cubic_texture nm.png combinedUVW
				tex_coord_set 1
				tex_address_mode clamp
				colour_op_ex dotproduct src_texture src_current
				colour_op_multipass_fallback dest_colour zero
			}
		}
		
		// Decal pass
		pass
		{
			lighting off
			// Really basic vertex program
			// NB we don't use fixed function here because GL does not like
			// mixing fixed function and vertex programs, depth fighting can
			// be an issue
			vertex_program_ref Ogre/BasicVertexPrograms/AmbientOneTexture
			{
				param_named_auto worldViewProj worldviewproj_matrix
				param_named ambient float4 1 1 1 1
			}
			scene_blend dest_colour zero
			texture_unit
			{
				texture RustedMetal.jpg 
			}
			
		}

	}
}

//---------------------------
// Projective texture section
//---------------------------


vertex_program Examples/TexProjectionVP cg
{
	source Example_Projection.cg
	entry_point generalPurposeProjection_vp
	profiles vs_1_1 arbvp1
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久亚洲综合| 精品日韩一区二区三区| 91精品国产乱码久久蜜臀| 欧美成人激情免费网| 国产精品九色蝌蚪自拍| 麻豆国产欧美日韩综合精品二区| 青青草国产成人av片免费| 亚洲欧洲制服丝袜| 不卡免费追剧大全电视剧网站| 欧美日韩一区久久| 国产精品天天看| 蜜桃精品在线观看| 欧美性猛交xxxxxxxx| 日韩一区二区高清| 一区二区三区精品在线| 国产精品99久久久| 91精品福利在线一区二区三区| 国产精品美女www爽爽爽| 另类小说图片综合网| 在线精品视频免费观看| 国产精品丝袜久久久久久app| 美腿丝袜亚洲色图| 欧美亚洲综合一区| 秋霞av亚洲一区二区三| 日本高清不卡视频| 国产精品美女久久久久aⅴ国产馆| 国产在线精品一区二区夜色 | 香蕉影视欧美成人| 91在线你懂得| 国产精品五月天| 岛国一区二区在线观看| 国产精品网站在线观看| 国产二区国产一区在线观看| wwwwww.欧美系列| 久久精品99国产精品日本| 欧美日韩成人在线| 天堂成人国产精品一区| 欧美精品xxxxbbbb| 日本美女一区二区三区| 日韩一级大片在线| 国模少妇一区二区三区| 日韩欧美激情一区| 久久精品国产99国产| 欧美成人aa大片| 国产成人精品www牛牛影视| 国产精品成人免费精品自在线观看| 高清av一区二区| 中文字幕av一区 二区| aaa欧美大片| 亚洲韩国一区二区三区| 日韩一区和二区| 国产精品中文有码| 最新成人av在线| 色婷婷综合久色| 蜜桃精品视频在线| 国产精品三级久久久久三级| 91福利视频久久久久| 七七婷婷婷婷精品国产| 久久久久久久久久久久久女国产乱| 国产成人日日夜夜| 亚洲一区二区三区不卡国产欧美 | 91在线国内视频| 性久久久久久久久| 国产片一区二区三区| 91久久一区二区| 国产一区欧美二区| 亚洲精品自拍动漫在线| 欧美一区二区三区四区五区| 国产成人亚洲精品青草天美| 午夜精品福利久久久| 亚洲一级二级三级| 久久久精品免费免费| 欧美影院午夜播放| 国产a视频精品免费观看| 亚洲国产美女搞黄色| 国产午夜精品一区二区三区嫩草 | 最新日韩av在线| 日韩欧美一级在线播放| 日本精品免费观看高清观看| 美女视频黄久久| 一区二区欧美视频| 国产精品天天看| 精品美女在线播放| 欧美性猛交xxxx乱大交退制版 | av不卡免费在线观看| 久久狠狠亚洲综合| 亚洲图片欧美视频| 亚洲欧美另类图片小说| 久久久久免费观看| 欧美精品一卡二卡| 色婷婷国产精品久久包臀| 国产很黄免费观看久久| 奇米777欧美一区二区| 亚洲综合一二三区| 亚洲桃色在线一区| 国产精品久久久一本精品| 精品国产免费视频| 欧美男人的天堂一二区| 日本道在线观看一区二区| 成人午夜看片网址| 国产精品性做久久久久久| 精品在线免费观看| 久久国产三级精品| 美女诱惑一区二区| 麻豆精品久久久| 蜜臀a∨国产成人精品| 图片区小说区区亚洲影院| 国产一区久久久| 日本成人在线一区| 午夜婷婷国产麻豆精品| 亚洲bt欧美bt精品777| 亚洲视频一区二区在线观看| 国产精品三级电影| 国产精品久久久久久久浪潮网站| 亚洲国产精品传媒在线观看| 精品久久99ma| www国产亚洲精品久久麻豆| 精品福利一区二区三区免费视频| 欧美一区二区久久久| 欧美一区日韩一区| 欧美大胆一级视频| 久久久久久久国产精品影院| 精品va天堂亚洲国产| 久久综合久久久久88| 精品欧美一区二区久久| 久久久久久久久99精品| 中文字幕一区二区在线观看| 亚洲精品久久嫩草网站秘色| 亚洲电影中文字幕在线观看| 偷拍一区二区三区| 国产一区二区看久久| 风间由美中文字幕在线看视频国产欧美| 国产成人日日夜夜| 91精品1区2区| 91精品国模一区二区三区| 精品对白一区国产伦| 国产婷婷色一区二区三区| 国产精品盗摄一区二区三区| 亚洲美女淫视频| 亚洲电影第三页| 国产精品一二三| 99久久综合99久久综合网站| 在线国产亚洲欧美| 日韩女优视频免费观看| 国产精品视频你懂的| 一区二区三区在线视频观看| 久久精品国产网站| 99久久精品免费| 欧美精品一二三四| 亚洲国产成人午夜在线一区| 亚洲国产一区视频| 国产精华液一区二区三区| 色婷婷av一区二区三区gif| 欧美喷水一区二区| 中文字幕不卡在线观看| 亚洲高清视频中文字幕| 国产在线一区二区| 国产区在线观看成人精品| 亚洲一区av在线| 国产成人精品aa毛片| 69堂亚洲精品首页| 中文一区二区完整视频在线观看| 亚洲大型综合色站| 国产成人免费9x9x人网站视频| 欧美性xxxxx极品少妇| 久久久久久久久免费| 无吗不卡中文字幕| 91九色02白丝porn| 中文字幕欧美激情| 日本91福利区| 欧美色成人综合| 综合激情成人伊人| 国产一区二区精品在线观看| 欧美日韩国产不卡| 亚洲欧洲无码一区二区三区| 精品亚洲国产成人av制服丝袜| 色偷偷久久一区二区三区| 欧美国产日韩亚洲一区| 久久99精品久久久久久国产越南| 在线影视一区二区三区| 国产精品免费免费| 国产一区二区中文字幕| 精品视频在线免费看| 亚洲精品欧美激情| 不卡的电影网站| 国产精品久久久久天堂| 国产精品亚洲成人| 欧美精品一区二区久久久| 久久99最新地址| 日韩欧美国产午夜精品| 日本女优在线视频一区二区 | kk眼镜猥琐国模调教系列一区二区| 日韩欧美国产一区二区在线播放| 婷婷综合久久一区二区三区| 欧美日韩国产123区| 丝袜亚洲另类欧美| 欧美美女激情18p| 三级不卡在线观看| 日韩欧美精品三级| 精品一区二区三区欧美|