User Tools

Site Tools


assets:texture:reflect

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
assets:texture:reflect [2015-12-29 19:23] – /* Asset metadata */ skyjakeassets:texture:reflect [2017-03-19 07:48] (current) – [Cube map layout] skyjake
Line 1: Line 1:
 +====== Reflection cube map asset ======
 +
 +<code>
 +asset texture.reflect.map01 {
 +    interior.path = "indoors.png"
 +    exterior.path = "outdoors.png"
 +}
 +</code>
 +
 +
 +===== Asset metadata =====
 +
 +
 +^ Variable^ Description |
 +| ''path''| Image file to use as the reflection cube map for both interior and exterior spaces. Use this as a convenience if there is no need to separate between interior and exterior spaces. |
 +| ''interior.path''| Image file to use as the reflection cube map for interior spaces. |
 +| ''exterior.path''| Image file to use as the reflection cube map for exterior spaces. |
 +
 +
 +
 +===== Interior vs. exterior =====
 +
 +
 +Doomsday will use the exterior reflections for objects in sectors that have a sky ceiling or floor. Otherwise the interior reflections will be used.
 +
 +
 +===== Cube map layout =====
 +
 +
 +  *  6x1 faces in a single image, with the order -x, +z, +x, -z, -y, +y.
 +  *  Each face must have the same size.
 +
 +{{file:cubemap.jpg}}
 +
 +
 +