material EndRoomMaterial
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			depth_check off
			depth_write off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				texture WM_Icon_Secret.png
			}
		}
	}
}

material EndRoomStarMaterial
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			depth_check off
			depth_write off
			scene_blend add

			texture_unit
			{
				rotate_anim -0.1
				texture Star.png
				filtering trilinear
			}
		}
	}
}

material LockedIconMaterial
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			depth_check off
			depth_write off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				texture WM_Chapter_locked.png
			}
		}
	}
}

material RankIconMaterial
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			depth_check off
			depth_write off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				texture WM_Icon_Rank.png
			}
		}
	}
}

material RoomsIconMaterial : RankIconMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture WM_Icon_Rooms.png
			}
		}
	}
}

material RoomsIconFlashMaterial : RoomsIconMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				wave_xform scale_x sine 1.0 2.0 0.0 0.5
				wave_xform scale_y sine 1.0 2.0 0.0 0.5
			}
		}
	}
}

material CrystalsIconMaterial : RankIconMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture WM_Icon_Crystals.png
			}
		}
	}
}

material CrystalsIconFlashMaterial : CrystalsIconMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				wave_xform scale_x sine 1.0 2.0 0.0 0.5
				wave_xform scale_y sine 1.0 2.0 0.0 0.5
			}
		}
	}
}

material PlayerIconMaterial : RankIconMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture WM_Icon_Player.png
			}
		}
	}
}

material Chapter1UnlockMaterial
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			depth_check off
			depth_write off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				texture Chapterunlock01.png
			}
		}
	}
}

material Chapter2UnlockMaterial : Chapter1UnlockMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture Chapterunlock02.png
			}
		}
	}
}

material Chapter3UnlockMaterial : Chapter1UnlockMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture Chapterunlock03.png
			}
		}
	}
}

material Chapter4UnlockMaterial : Chapter1UnlockMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture Chapterunlock04.png
			}
		}
	}
}

material Chapter5UnlockMaterial : Chapter1UnlockMaterial
{
	technique
	{
		pass
		{
			texture_unit
			{
				texture Chapterunlock05.png
			}
		}
	}
}


material Chapter1Material
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			depth_check off
			depth_write off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				texture WM_Chapter1.dds
			}
		}

		pass
		{
			lighting off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				texture WM_Gui.png
			}
		}
	}
}

material Chapter2Material : Chapter1Material
{
	technique 0
	{
		pass 0
		{
			texture_unit
			{
				texture WM_Chapter2.dds
			}
		}
	}
}

material Chapter3Material : Chapter1Material
{
	technique 0
	{
		pass 0
		{
			texture_unit
			{
				texture WM_Chapter3.dds
			}
		}
	}
}

material Chapter4Material : Chapter1Material
{
	technique 0
	{
		pass 0
		{
			texture_unit
			{
				texture WM_Chapter4.dds
			}
		}
	}
}

material Chapter5Material : Chapter1Material
{
	technique 0
	{
		pass 0
		{
			texture_unit
			{
				texture WM_Chapter5.dds
			}
		}
	}
}

material MarkerSolvedMaterial
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				texture WM_Icon_Solved.png
				filtering trilinear
			}
		}
	}
}

material MarkerUnsolvedMaterial : MarkerSolvedMaterial
{
	
	technique
	{
		pass
		{
			texture_unit
			{
				texture WM_Icon_Unsolved.png
			}
		}
	}
}

material WindmillMaterial
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				rotate_anim 0.1
				texture WM_Windmillrotor.png
				filtering trilinear
			}
		}
	}
}

material CloudMaterial01
{
	receive_shadows off
	
	technique
	{
		pass
		{
			lighting off
			alpha_rejection greater_equal 10
			scene_blend alpha_blend

			texture_unit
			{
				wave_xform scroll_x sine 0.0 0.02 0.0 0.2
				texture WM_Cloud01.png
			}
		}
	}
}

material CloudMaterial02 : CloudMaterial01
{
	technique
	{
		pass
		{
			texture_unit
			{
				wave_xform scroll_x sine 0.0 0.022 0.41 0.2
				texture WM_Cloud02.png
			}
		}
	}
}

material CloudMaterial03 : CloudMaterial01
{
	technique
	{
		pass
		{
			texture_unit
			{
				wave_xform scroll_x sine 0.0 0.023 0.82 0.2
				texture WM_Cloud03.png
			}
		}
	}
}

material CloudMaterial04 : CloudMaterial01
{
	technique
	{
		pass
		{
			texture_unit
			{
				wave_xform scroll_x sine 0.0 0.018 0.27 0.2
				texture WM_Cloud01.png
			}
		}
	}
}

material CloudMaterial05 : CloudMaterial01
{
	technique
	{
		pass
		{
			texture_unit
			{
				wave_xform scroll_x sine 0.0 0.019 0.55 0.2
				texture WM_Cloud02.png
			}
		}
	}
}
