Mapdev:normal: Difference between revisions
From Spring
Jump to navigationJump to search
create page. |
m →Image File: used image template styling |
||
| Line 24: | Line 24: | ||
}</pre></code> | }</pre></code> | ||
== Image File== | == Image File== | ||
{| class="wikitable" width="100%" | |||
! width="15%" | File Location | |||
| ./maps/ | |||
|- | |||
! File Format | |||
| PNG, TGA | |||
|- | |||
! Colour Depth | |||
| 8bpp | |||
|- | |||
! Channels | |||
| RGB | |||
|- | |||
! Resolution | |||
| Any, recommended powers of two, will be stretched over the terrain. | |||
|} | |||
[[Category:Development]] | [[Category:Development]] | ||
[[Category:Mapdev]] | [[Category:Mapdev]] | ||
Revision as of 14:40, 6 January 2013
Normal Texture
FIXME: description as to why you want to use normal textures.
| Caution | |
|---|---|
| Requires clients to have GLSL-spec hardware |
| FIXME: needs image file | FIXME: needs image file |
| Without Normal Map | With Normal Map |
|---|
Specification
mapinfo.lua
The relevant sections of the mapinfo.lua
local mapinfo = {
...
resources = {
...
detailNormalTex = "normal.png",
...
},
...
}
Image File
| File Location | ./maps/ |
|---|---|
| File Format | PNG, TGA |
| Colour Depth | 8bpp |
| Channels | RGB |
| Resolution | Any, recommended powers of two, will be stretched over the terrain. |