Community Forum

Missing Texture Error

Forum Overview >> Editor

CategoryEditor
Created29.04.2019 12:13


Frazer Lusty (flusty94) 29.04.2019 12:13
Hi guys, was tidying up the file structure for a map im making, after a few changes i loaded back into the map to now receive this error:

Warning: Missing texture 'albedo' in 'groundDetail_mat' (C:/Program Files (x86)/Steam/steamapps/common/Farming Simulator
19/data/shaders/groundShader.xml).

and these errors also

Warning: Texture 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_ThePryFarm/ThePryFarm/objects/objects/textures/american/buildingsArray_normal.png' has wrong type (2darray instead of 2d) in 'buildingsArray_mat'.
Warning: Texture 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_ThePryFarm/ThePryFarm/objects/objects/textures/american/buildingsArray_specular.png' has wrong type (2darray instead of 2d) in 'buildingsArray_mat'.
Warning: Texture 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_ThePryFarm/ThePryFarm/objects/objects/textures/american/buildingsArray_normal.png' has wrong type (2darray instead of 2d) in 'buildingsArray_mat7'.
Warning: Texture 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_ThePryFarm/ThePryFarm/objects/objects/textures/american/buildingsArray_specular.png' has wrong type (2darray instead of 2d) in 'buildingsArray_mat7'.
Warning: Texture 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_ThePryFarm/ThePryFarm/objects/objects/textures/buildingsArray_normal.dds' has wrong type (2darray instead of 2d) in 'buildingsArray_mat'.
Warning: Texture 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_ThePryFarm/ThePryFarm/objects/objects/textures/buildingsArray_specular.dds' has wrong type (2darray instead of 2d) in 'buildingsArray_mat'.
Warning: Texture 'C:/Program Files (x86)/Steam/steamapps/common/Farming Simulator 19/data/maps/textures/american/buildingsArray_normal.png' has wrong type (2darray instead of 2d) in 'buildingsArrayDPGsm2_mat'.
Warning: Texture 'C:/Program Files (x86)/Steam/steamapps/common/Farming Simulator 19/data/maps/textures/american/buildingsArray_specular.png' has wrong type (2darray instead of 2d) in 'buildingsArrayDPGsm2_mat'.
Warning: Texture 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_ThePryFarm/ThePryFarm/objects/objects/textures/buildingsArray_normal.dds' has wrong type (2darray instead of 2d) in 'buildingsArray_mat'.
Warning: Texture 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/FS19_ThePryFarm/ThePryFarm/objects/objects/textures/buildingsArray_specular.dds' has wrong type (2darray instead of 2d) in 'buildingsArray_mat'.



All of the object textures are white.
[url=https://ibb.co/5kfXwMC][img]https://i.ibb.co/BGSHFzv/image1.png[/img][/url]

This is in the i3d the only thing for groundshader.xml in the entire file system is this.. it points to the game directory one, when i go to find that theres nothing in there about the errors im getting?

[url=https://ibb.co/JdjJ4tS][img]https://i.ibb.co/sP9YGRX/image2.png[/img][/url]


Have looked at the groundShader.xml in the game directory and came across this:

<![CDATA[
// Channel 1: Type
// Channel 2: Angle
// Channel 3: Spray

#if defined(DIFFUSE) && defined(TERRAIN_DETAIL_CHANNEL_1) // if diffuse is defined, we are in color output mode
#define USE_GROUND_SHADER_COLOR
#endif

#define INTEGER_POSITION

// We are going to define our own albedo and normal map handling
#undef ALBEDO_MAP
#undef NORMAL_MAP
// We do our own parallax mapping, so disable it in the base shader
#undef PARALLAX_MAP
#undef PARALLAX_MAPPING

// We do our own alpha testing
#undef ALPHA_TESTED

#if GPU_PROFILE <= GPU_PROFILE_LOW
#undef TERRAIN_DETAIL_CHANNEL_2
#endif
]]>


is this relevant to the error im getting? i just put the dollar sign infront of a few filepaths that i knew were in the game directory to save map space and now this has happened haha. i dont know where to start looking and i really do not want to start this map all again because iv spent so much time on doing the roads, fields, hedges etc

Jan D. N. (Unknown) 30.04.2019 07:33
"after a few changes"...

Revert them, do them one by one to figure out at which point it goes wrong. You have backups from before the changes right?

It is unlikely that the problem is with the base game shader file itself, but more likely something to do with the changes you made.


How about a full log btw?


Note: Log in to post. Create a new account here.