sky.mtl

来自「此为作者自主研发的3D引擎swe的一个简单的演示程序」· MTL 代码 · 共 60 行

MTL
60
字号
<material param="sky/cloudy" >
	<technique>
		<pass>
			<lighting param="off" />
			<depth_write param="off" />
                        <fog_override param="true" />

			<texture_unit>
				texture param="sky/clouds.jpg" />
				scroll_anim param="0.02 0.02" />
			</texture_unit>
		</pass>
	</technique>
</material>

<material param="sky/boxSky1" >
	<technique>
		<pass>
			<lighting param="off" />
			<depth_write param="off" />
			<fog_override param="true" />

			<texture_unit >
				<cubic_texture param="sky/i_fr.jpg Sky/i_bk.jpg Sky/i_lf.jpg Sky/i_rt.jpg Sky/i_up.jpg Sky/i_dn.jpg separateUV" />
				<tex_address_mode param="clamp" />
			</texture_unit>
		</pass>
	</technique>
</material>

<material param="sky/boxSky2" >
	<technique>
		<pass>
			<lighting param="off" />
			<depth_write param="off" />
			<fog_override param="true" />

			<texture_unit>
				<cubic_texture param="sky/j_fr.jpg Sky/j_bk.jpg Sky/j_lf.jpg Sky/j_rt.jpg Sky/j_up.jpg Sky/j_dn.jpg separateUV" />
				<tex_address_mode param="clamp" />
			</texture_unit>
		</pass>
	</technique>
</material>

<material param="sky/boxSky3" >
	<technique>
		<pass>
			<lighting param="off" />
			<depth_write param="off" />
			<fog_override param="true" />

			<texture_unit>
				<cubic_texture param="sky/k_fr.jpg Sky/k_bk.jpg Sky/k_lf.jpg Sky/k_rt.jpg Sky/k_up.jpg Sky/k_dn.jpg separateUV" />
				<tex_address_mode param="clamp" />
			</texture_unit>
		</pass>
	</technique>
</material>

⌨️ 快捷键说明

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