Jump to content

[SOLVED] Base Material content migration from 2.14.1 to 2.15.1


photo

Recommended Posts

Hello,

while migrating from 2.14.1 to 2.15.1 I ran into issues with our custom base material file.

 

Maybe I have something wrong in my texture definition but I don't see any problems.

I have attached the file.

Thanks

https://developer.unigine.com/en/docs/latest/code/formats/materials_formats/base_material_format?rlang=cpp#element_texture

lightgroup_base_material.basemat

Quote


---- Materials ----
ERROR:    Material::load(): texture name is empty in "ig_resources/materials/lightgroup/lightgroup_base_material.basemat" material
ERROR:    Material::load(): texture name is empty in "ig_resources/materials/lightgroup/lightgroup_base_material.basemat" material
WARNING:    
WARNING:    Xml::printUnusedData(): Unused in file:"ig_resources/materials/lightgroup/lightgroup_base_material.basemat"
WARNING:        Unused in node:"texture"    arg:"type"    value:"clouds_screen"
WARNING:        Unused in node:"texture"    arg:"pass"    value:"ambient"
WARNING:        Unused in node:"texture"    arg:"type"    value:"scattering_sky_lut"
WARNING:        Unused in node:"texture"    arg:"pass"    value:"ambient"
WARNING:   

Link to comment

Hi Sebastian!

Try changing type="clouds_screen" to source="clouds_screen" and do the same for type="scattering_sky_lut".

Also, I'd like to suggest converting this material to ULON Base Material as we are planning on removing XML BaseMaterials in future.

ULON Base Material Format for reference:
https://developer.unigine.com/en/docs/latest/code/formats/materials_formats/ulon_base_material_format?rlang=cpp

Link to comment
  • silent changed the title to [SOLVED] Base Material content migration from 2.14.1 to 2.15.1
×
×
  • Create New...