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:35] chregu |
modding:developerinfo:models:materials [2018/07/04 16:38] chregu |
||
---|---|---|---|
Line 123: | Line 123: | ||
**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 optaining the texture coordinates for the overlay texture: use the default uv-coordinates (''NORMAL''), the world coordinates (''WORLD_XY'') or a second uv-coordinate set (''TEXCOORD''). | + | 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> |