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

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

?? examples-advanced.material

?? 使用stl技術,(還沒看,是聽說的)
?? MATERIAL
?? 第 1 頁 / 共 2 頁
字號:

fragment_program Examples/TexProjectionFP cg
{
	source Example_Projection.cg
	entry_point generalPurposeProjection_fp
	// sorry, ps_1_1 can't do this, fp20 can though
	profiles ps_2_0 arbfp1 fp20
}

material Examples/GeneralTexProjection
{
	technique
	{
		pass 
		{
			
			vertex_program_ref Examples/TexProjectionVP
			{
				param_named_auto worldViewProjMatrix worldviewproj_matrix
				param_named_auto worldMatrix world_matrix
				// You'll need to update the tex projection, I suggest using
				// the Frustum class
				//param_named_auto texWorldViewProj worldviewproj_matrix
			}
			fragment_program_ref Examples/TexProjectionFP
			{
				// no params
			}
			texture_unit
			{
				// Project the OGRE logo
				texture ogrelogo.jpg
				tex_address_mode clamp
			}
		}
		
			
	}
    
}

//----------------------------
// Distortion effects
//----------------------------

vertex_program Examples/FresnelRefractReflectVP cg
{
	source Example_Fresnel.cg
	entry_point main_vp
	profiles vs_1_1 arbvp1
}

fragment_program Examples/FresnelRefractReflectFP cg
{
	source Example_Fresnel.cg
	entry_point main_fp
	// sorry, ps_1_1 and fp20 can't do this
	profiles ps_2_0 arbfp1
}

fragment_program Examples/FresnelRefractReflectPS asm
{
	source Example_FresnelPS.asm
	// sorry, only for ps_1_4 :)
	syntax ps_1_4

}

material Examples/FresnelReflectionRefraction
{
	// ps_2_0 / arbfp1
	technique
	{
		pass 
		{
			
			vertex_program_ref Examples/FresnelRefractReflectVP
			{
				param_named_auto worldViewProjMatrix worldviewproj_matrix
				param_named_auto eyePosition camera_position_object_space
				param_named fresnelBias float -0.3 
				param_named fresnelScale float 1.4 
				param_named fresnelPower float 8  
				param_named_auto timeVal time 0.05
				param_named scroll float 1  
				param_named scale float 4 
				param_named noise float 1 
				// scroll and noisePos will need updating per frame
			}
			fragment_program_ref Examples/FresnelRefractReflectFP
			{
				param_named distortionRange float 0.025 
				param_named tintColour float4 0 0 0 1
			}
			// Noise
			texture_unit
			{
				// Perlin noise volume
				texture perlinvolume.dds 3d
				// min / mag filtering, no mip
				filtering linear linear none
			}
			// Reflection
			texture_unit
			{
				// Will be filled in at runtime
				texture Reflection
				tex_address_mode clamp
				// needed by ps.1.4
				tex_coord_set 1
			}
			// Refraction
			texture_unit
			{
				// Will be filled in at runtime
				texture Refraction
				tex_address_mode clamp
				// needed by ps.1.4
				tex_coord_set 2
			}
		}
		
			
	}

	// ATI 8500 +
	technique
	{
		pass
		{
			vertex_program_ref Examples/FresnelRefractReflectVP
			{
				param_named_auto worldViewProjMatrix worldviewproj_matrix
				param_named_auto eyePosition camera_position_object_space
				param_named fresnelBias float -0.3
				param_named fresnelScale float 1.4
				param_named fresnelPower float 8
				param_named_auto timeVal time 0.05
				param_named scroll float 1 
				param_named scale float 4 
				param_named noise float 1
				// scroll and noisePos will need updating per frame
			}

			// for ATI RADEON 8500 - 9200
			fragment_program_ref Examples/FresnelRefractReflectPS
			{
				// distortionRange
				param_indexed 0  float 0.025  
				// tintColour
				param_indexed 1  float4 0.05 0.12 0.15 1
			}

			// Noise
			texture_unit
			{
				// Perlin noise volume
				texture perlinvolume.dds 3d
				// min / mag filtering, no mip
				filtering linear linear none
			}
			// Reflection
			texture_unit
			{
				// Will be filled in at runtime
				texture Reflection
				tex_address_mode clamp
				// needed by ps.1.4
				tex_coord_set 1
			}
			// Refraction
			texture_unit
			{
				// Will be filled in at runtime
				texture Refraction
				tex_address_mode clamp
				// needed by ps.1.4
				tex_coord_set 2
			}
		}
	}    
}

// Normal-mapped Athene statue
material Examples/Athene/NormalMapped
{

	// 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 atheneNormalMap.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 egyptrockyfull.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 atheneNormalMap.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 egyptrockyfull.jpg
			}
			
		}

	}
}

// Basic Athene statue
material Examples/Athene/Basic
{

	technique
	{
		pass
		{
			ambient 0.3 0.3 0.3
			diffuse 1.0 1.0 0.9

			texture_unit
			{
				texture egyptrockyfull.jpg 
			}
			
		}
	}
}


// Any number of lights, diffuse and specular
material Examples/Athene/NormalMappedSpecular
{

	// 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 atheneNormalMap.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 1
				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 egyptrockyfull.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 atheneNormalMap.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 egyptrockyfull.jpg 
			}
			
		}

	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产网红主播福利一区二区| 国产精品午夜春色av| 亚洲激情av在线| 亚洲国产精品ⅴa在线观看| 91精品国产丝袜白色高跟鞋| 色偷偷成人一区二区三区91| 91一区二区三区在线观看| 91亚洲精品久久久蜜桃网站| 国产经典欧美精品| 国产精品一二三四| 懂色av噜噜一区二区三区av| 国产suv精品一区二区三区 | 日本欧美一区二区三区| 亚洲一级片在线观看| 亚洲6080在线| 免费人成黄页网站在线一区二区| 美女一区二区在线观看| 久久福利视频一区二区| 国产大陆精品国产| 99天天综合性| 777午夜精品视频在线播放| 精品日韩99亚洲| 中文欧美字幕免费| 亚洲综合男人的天堂| 美美哒免费高清在线观看视频一区二区 | 精品视频1区2区| 日韩一级片网站| 国产精品天干天干在线综合| 一区二区久久久久| 亚洲国产欧美一区二区三区丁香婷| 天天av天天翘天天综合网| 六月丁香婷婷久久| av成人动漫在线观看| 欧美挠脚心视频网站| www国产精品av| 一区二区三区欧美久久| 激情六月婷婷综合| 欧美亚洲动漫精品| 久久影视一区二区| 一区二区三区四区精品在线视频| 日本不卡视频一二三区| 成人性生交大合| 欧美一区二区福利视频| 国产精品久久久久久一区二区三区 | 久久久久久夜精品精品免费| 亚洲精品第1页| 国产成人自拍高清视频在线免费播放 | 久久久91精品国产一区二区三区| 91丝袜美女网| 国产一区欧美日韩| 久久丝袜美腿综合| 99久久精品国产网站| 国产精品超碰97尤物18| 99久久伊人精品| 婷婷开心激情综合| 精品少妇一区二区三区免费观看| 青椒成人免费视频| 福利一区二区在线| 久久9热精品视频| 欧美日韩在线三区| 亚洲色图欧美偷拍| av中文字幕一区| 欧美国产日本韩| 国产精选一区二区三区| 91精品视频网| 亚洲线精品一区二区三区| 成人的网站免费观看| 久久人人97超碰com| 麻豆精品视频在线观看视频| 欧美巨大另类极品videosbest | 26uuu色噜噜精品一区二区| 亚洲一区二区三区免费视频| av色综合久久天堂av综合| 国产精品视频一二三| 国产成人综合视频| 久久久精品免费免费| 国产精品一级二级三级| 久久综合网色—综合色88| 久久精工是国产品牌吗| 欧美tk—视频vk| 精品一区二区影视| 久久久亚洲国产美女国产盗摄| 国产精品一区免费在线观看| 久久综合五月天婷婷伊人| 国产激情91久久精品导航| 91影视在线播放| 亚洲成人免费观看| 日韩欧美国产成人一区二区| 奇米精品一区二区三区四区| 精品久久久久久久一区二区蜜臀| 精品一区二区久久久| 日本一区二区高清| 色综合天天性综合| 亚洲一区二区三区中文字幕| 91精品婷婷国产综合久久性色| 精品一区二区三区欧美| 国产欧美一区二区精品久导航| 另类小说图片综合网| 午夜天堂影视香蕉久久| 91日韩精品一区| 555www色欧美视频| 国产欧美日韩视频在线观看| 亚洲精品va在线观看| 亚洲在线成人精品| 偷窥国产亚洲免费视频| 国产在线视视频有精品| 懂色av中文字幕一区二区三区| 成人小视频免费在线观看| 精品欧美久久久| 亚洲最大成人网4388xx| 欧美日韩极品在线观看一区| 另类欧美日韩国产在线| 国产欧美一区二区精品性色| 欧美性受xxxx| 紧缚奴在线一区二区三区| 国产精品卡一卡二卡三| 91麻豆精品国产91| 成人综合日日夜夜| 日韩和欧美一区二区| 中文字幕在线一区| 欧美一区二区三区公司| 99国产精品久久久久久久久久久| 日韩一区精品字幕| 亚洲免费毛片网站| 26uuu国产一区二区三区| 色网站国产精品| 成人午夜精品在线| 免费观看一级欧美片| 亚洲精选免费视频| 国产清纯在线一区二区www| 在线成人免费观看| 日本韩国精品在线| 国产成a人亚洲| 国产一区在线观看麻豆| 舔着乳尖日韩一区| 亚洲自拍欧美精品| 亚洲日本va在线观看| 国产三级三级三级精品8ⅰ区| 日韩一区二区三区在线观看| 精品视频全国免费看| 日本久久一区二区三区| jiyouzz国产精品久久| 国产高清亚洲一区| 精品亚洲成a人| 激情综合五月天| 极品少妇xxxx偷拍精品少妇| 天天操天天综合网| 日欧美一区二区| 午夜日韩在线电影| 视频在线在亚洲| 国产精品香蕉一区二区三区| 日韩精品每日更新| 热久久国产精品| 久久99久久99精品免视看婷婷 | 成人av电影在线网| 国产精品一区二区久激情瑜伽 | 欧美日韩精品一区视频| 欧美午夜电影网| 中文av一区二区| 日韩一区二区三区视频| 欧美国产国产综合| 中文字幕在线不卡一区| 欧美日韩电影在线| 色综合色综合色综合色综合色综合 | 国产调教视频一区| 欧美裸体bbwbbwbbw| 99天天综合性| 欧美一区二区福利在线| 日韩中文字幕1| 亚洲激情成人在线| 香蕉成人啪国产精品视频综合网| 亚洲福利视频导航| 麻豆高清免费国产一区| 国产超碰在线一区| 91尤物视频在线观看| 欧美色国产精品| 日韩视频免费观看高清完整版| 精品少妇一区二区三区| 中文字幕一区在线观看视频| 一区二区三区在线不卡| 毛片不卡一区二区| 91在线无精精品入口| 欧美一区二区三区啪啪| 国产亚洲成av人在线观看导航| 亚洲靠逼com| 久久精品国产亚洲一区二区三区 | 日韩三级在线观看| 国产精品丝袜久久久久久app| 亚洲午夜久久久久中文字幕久| 蓝色福利精品导航| 色婷婷av一区二区| 精品国产91乱码一区二区三区| 国产精品传媒入口麻豆| 日韩高清在线观看| 99久久久精品| 久久免费美女视频| 亚洲444eee在线观看| 91原创在线视频| 久久久久久久综合色一本| 亚洲综合在线免费观看|