basetexture.material

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

MATERIAL
76
字号
material BaseMaterial
{
	lod_distances 28000
	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 detail3.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
			}
		}
	}
}
material InstantBaseMaterial
{
	lod_distances 28000
	technique
	{
		lod_index 0
		pass
		{
			texture_unit
			{
				// Noise texture
				texture detail3.jpg
				tex_address_mode mirror
				scale 0.03 0.03
			}
		}
	}
	technique
	{
		lod_index 1
		pass
		{
            texture_unit
            {
                // Noise texture
                texture detail3.jpg
				tex_address_mode mirror
				scale 0.3 0.3
            }
        }
	}
}

⌨️ 快捷键说明

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