Translations:Material File Format/10/en

From Ciliz|W4
  • "data" - description of the data source (for CUBEMAP type "data" contains 6 data sources, marked by numbers from 0 to 6 (respectively X +, X-, Y +, Y-, Z +, Z-)). This can be set by any of the following:
  1. From a file with keys "path" and "type" = "file";
  2. Through a generator compiled into the engine. In this case, "generator" ("type" = "generator") and "params" (the generator parameters) keys are used. The actual version of the engine contains the generator to which a parameter of type 'Vec4' is set (do not confuse with 'vec4'). The generator can be used to create a single color texture - "[default] color".