Exporter notes
- Last UpdatedNov 17, 2025
- 1 minute read
These are additional notes about the ShaderGenerator Exporter.
Scaling / XForm
The engine does not support scaling transformations.
If there is a scaling factor in an object's hierarchy of transformations (even in the parent object, but not the object itself) it is probably incorrectly drawn inside the engine.
Ensure that the transformations are correct
-
For an animated object, eliminate any transformations of stairs.
-
For a static object, export it to World Space. This way all the scale / rot transformations are automatically canceled as they are applied to the vertices before being exported, or resetting the XForms of the object in 3DSMax.
Multi materials
-
You can assign multiple materials to the same mesh only if these materials are similar in properties since it is mandatory to assign only one shader for Mesh.
-
For example, if we use a textured and specular shader, we can create a multi-material where each submaterial contains a texture and specular parameters. If, however, we want one material to use the specular and the other not, then we need to split the mesh in two and assign two different shaders.