Help:VE165
From TrainzOnline
(Difference between revisions)
Builderbob (Talk | contribs) (Created from error message text.) |
|||
Line 1: | Line 1: | ||
− | + | ''Texture <texture resource name> is missing or could not be loaded in mesh <mesh name>, material <material name>.'' | |
− | + | The specified texture resource could not be found, or could not be loaded. | |
− | + | A texture resource is created from a [[Texture file|texture.txt file]] and one or more [[Texture file#Image_formats|image files]]. | |
− | + | ||
− | A texture | + | |
This error can occur if | This error can occur if | ||
Line 14: | Line 12: | ||
** The image file is in the wrong format, eg compressed TGA, missing alpha channel (where required). | ** The image file is in the wrong format, eg compressed TGA, missing alpha channel (where required). | ||
** One or both of the image dimensions (width, height) is not a power of 2. | ** One or both of the image dimensions (width, height) is not a power of 2. | ||
− | ** The image file is larger than | + | ** The image file is larger than 4096x4096. |
− | + | * The resource name did not end in ".texture". Please note that a source texture file on disk ends in "texture.txt" but a texture resource reference in the [[config.txt file]] or in a mesh ends in ".texture". | |
− | + | ||
− | + | This error may appear in conjunction with error [[Help:VE168|VE168]] or [[Help:VE171|VE171]]. | |
[[Category:Validation Errors]] | [[Category:Validation Errors]] |
Latest revision as of 22:49, 12 November 2016
Texture <texture resource name> is missing or could not be loaded in mesh <mesh name>, material <material name>.
The specified texture resource could not be found, or could not be loaded.
A texture resource is created from a texture.txt file and one or more image files.
This error can occur if
- The texture.txt file is missing or is named incorrectly.
- The texture.txt file refers to an image file that is missing or is named incorrectly.
- The texture.txt file is incorrectly formatted.
- One or more of the image files is invalid. For instance:
- The image file is in the wrong format, eg compressed TGA, missing alpha channel (where required).
- One or both of the image dimensions (width, height) is not a power of 2.
- The image file is larger than 4096x4096.
- The resource name did not end in ".texture". Please note that a source texture file on disk ends in "texture.txt" but a texture resource reference in the config.txt file or in a mesh ends in ".texture".
This error may appear in conjunction with error VE168 or VE171.