iplsm_basetexture.material

来自「使用stl技术,(还没看,是听说的)」· MATERIAL 代码 · 共 44 行

MATERIAL
44
字号
material IPLSM_BaseTexture
{
	lod_distances 200
	technique
	{
		lod_index 0
		pass
		{
			// Base Pass
			ambient 1.0 1.0 1.0
			diffuse 1.0 1.0 1.0
			texture_unit
			{
				// Base Texture
				texture none
				tex_coord_set 0
				tex_address_mode clamp
			}
			texture_unit
			{
				// Noise texture
				texture rockDetail.jpg
				tex_address_mode mirror
				scale 0.03 0.03
			}
		}
	}
	technique
	{
		lod_index 1
		pass
		{
			ambient 1.0 1.0 1.0
			diffuse 1.0 1.0 1.0
			texture_unit
			{
				// Base Texture
				texture none
				tex_address_mode clamp
			}
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?