This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
modding:developerinfo:models:materials [2018/07/04 16:27] chregu |
modding:developerinfo:models:materials [2018/07/04 16:38] chregu |
||
---|---|---|---|
Line 122: | Line 122: | ||
**Operations** | **Operations** | ||
+ | |||
+ | A material can use multiple overlay operations (currently at most two) with textures. For each operation, a map and a set of parameters have to be specified. Apart from being disabled (''NO_OP''), there are three types of operations. There are three modi of obtaining the texture coordinates for the overlay texture: use the local coordinates (''NORMAL''), the world coordinates (''WORLD_XY'') or the uv-coordinates (''TEXCOORD''). | ||
<code lua> | <code lua> |