nuclide/Documentation/Materials/SurfaceCommands/specularmap.md

15 lines
378 B
Markdown
Raw Normal View History

2024-06-22 07:24:13 +00:00
# Material Command List {#mat_commands}
## specularMap {#specularMap}
2024-06-22 07:24:13 +00:00
### Syntax
2024-06-22 07:24:13 +00:00
**specularMap \<texturepath/texturename\>**
2024-06-22 07:24:13 +00:00
### Overview
2024-06-22 07:24:13 +00:00
Can set the specularity of the surface in relation to dlights.
Specularity is the intensity of the light reflecting off the surface. In
special cases some [GLSL programs](@ref shaders) might use the
texture it for other purposes, too.