Sevdat Posted July 13 Posted July 13 (edited) Good morning, I found an error in the documentation in section (Creating a Primitive): https://developer.unigine.com/en/docs/future/code/usage/mesh_class/index?rlang=cs#creating_box If the code below is used: The .dds will result in a red color, but in the documentation the texture of the cube is the ground color. To fix this use .texture dynamicMesh.SetMaterialTexture("albedo", "core/textures/common/checker_d.texture", 0); which will result in: Edited July 13 by Sevdat
arizmenda Posted July 16 Posted July 16 Hi, Sevdat. Indeed, this is a bit outdated piece of documentaion. We'll update it when possible. Thanks for pointing this out. 1
Recommended Posts