671
edits
No edit summary |
|||
Line 72: | Line 72: | ||
== Lightmap == | == Lightmap == | ||
A lightmap | A lightmap has the same file name with a postfix "_LM". A lightmap is NOT required for each texture, but highly recommended to make the buildings visible during low light periods (e.g. night, bad weather). | ||
"facade_24x19m_LM.png" | |||
So for our example this would be "facade_24x19m_LM.png". The file must be stored in the same directory as the texture file. | |||
Osm2city uses | Osm2city uses | ||
* red channel for window lights | * the red channel for window lights | ||
* green channel for ambient street lights shining onto facade | * the green channel for ambient street lights shining onto facade | ||
* blue and alpha unused | * (the blue and alpha channels are unused) | ||
== Install texture and lightmap == | == Install texture and lightmap == |
edits