diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 6a2f8321..19460275 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -364,12 +364,42 @@ "$ref": "#/definitions/MColor" }, "material": { - "description": "Can pick a preset material with a texture from the base game. Does not work with color.", + "description": "Can pick a preset material with a texture from the base game. Does not work with color or any textures.", "$ref": "#/definitions/Material" }, - "texturePath": { + "texture": { "type": "string", "description": "Can use a custom texture. Does not work with material or color." + }, + "smoothnessMap": { + "type": "string", + "description": "Relative filepath to the texture used for the terrain's smoothness and metallic, which are controlled by the texture's alpha and red channels respectively. Optional.\nTypically black with variable transparency, when metallic isn't wanted." + }, + "smoothness": { + "type": "number", + "description": "How \"glossy\" the surface is, where 0 is diffuse, and 1 is like a mirror.\nMultiplies with the alpha of the smoothness map if using one.", + "format": "float", + "default": 0.0, + "maximum": 1.0, + "minimum": 0.0 + }, + "metallic": { + "type": "number", + "description": "How metallic the surface is, from 0 to 1.\nMultiplies with the red of the smoothness map if using one.", + "format": "float", + "default": 0.0, + "maximum": 1.0, + "minimum": 0.0 + }, + "normalMap": { + "type": "string", + "description": "Relative filepath to the texture used for the normal (aka bump) map. Optional." + }, + "normalStrength": { + "type": "number", + "description": "Strength of the normal map. Usually 0-1, but can go above, or negative to invert the map.", + "format": "float", + "default": 1.0 } } },