nuclide/Documentation/Materials/commands/tcgen.md

24 lines
462 B
Markdown
Raw Normal View History

2022-10-03 00:10:54 +00:00
# Materials: Commands {#mat_commands}
## tcgen
### Syntax
2022-10-03 00:10:54 +00:00
**tcGen <coordinate source>**
### Overview
2022-10-03 00:10:54 +00:00
Specifies how texture coordinates are generated and where they come
from. Valid functions are **base**, **lightmap** and **environment**.
### Sources {#sources}
#### base {#base}
Base texture coordinates from the original art.
#### lightmap {#lightmap}
Lightmap texture coordinates.
#### environment {#environment}
Make this object environment mapped.