⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 splatting6.material

📁 使用stl技术,(还没看,是听说的)
💻 MATERIAL
字号:
// This material will be used with splatting
material SplattingMaterial6
{
	lod_distances 28000

	technique
	{
		// splat 1
		pass
		{
			lighting off
			scene_blend src_alpha zero
			texture_unit
			{
				colour_op replace
				texture splatting_snow.jpg
				scale 0.01 0.01
				tex_address_mode mirror
			}
			texture_unit
			{

				//colour_op_ex blend_diffuse_alpha  src_current src_texture
				colour_op replace
				texture none
			}
		}

		// splat 2
		pass
		{
			lighting off
			scene_blend src_alpha one
			texture_unit
			{
				colour_op replace
				texture splatting_sand.jpg
				scale 0.01 0.01
				tex_address_mode mirror
			}
			texture_unit
			{
				//alpha mask
				colour_op replace
				texture none
			}
		}

		// splat 3
		pass
		{
			lighting off
			scene_blend src_alpha one
			texture_unit
			{
				texture splatting_grass.jpg
				scale 0.01 0.01
				tex_address_mode mirror
				colour_op replace

			}
			texture_unit
			{
				//alpha mask
				colour_op replace
				texture none
			}
		}
		// splat 4
		pass
		{
			lighting off
			scene_blend src_alpha one
			texture_unit
			{
				colour_op replace
				texture splatting_rock.jpg
				scale 0.01 0.01
				tex_address_mode mirror

			}
			texture_unit
			{
				//alpha mask
				colour_op replace
				texture none

			}
		}

	}
	technique
	{
		lod_index 1
		pass
		{

			lighting off

			//texture_unit
			//{
			//	texture none
			//	tex_coord_set 0
			//}

			texture_unit
			{
				// Light Alpha map
				texture none
				tex_address_mode clamp
				//colour_op_ex modulate_x2 src_current src_texture
				colour_op modulate
			}
		}
	}
}

⌨️ 快捷键说明

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