public struct Material
{
	public var id: String
	public var diffuse: Colour, specular: Colour
	public var specularExp: Float
	public var texture: RenderTexture2D

	public init(id: String = "",
		diffuse: Colour = .white,
		specular: Colour = .zero,
		gloss: Float = 0,
		texture: RenderTexture2D = .empty)
	{
		self.id = id
		self.diffuse = diffuse
		self.specular = specular
		self.specularExp = gloss
		self.texture = texture
	}
}
