Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
assets:texture:reflect [2015-12-29 19:21] – /* Cube map layout */ skyjake | assets:texture:reflect [2017-03-19 07:48] (current) – [Cube map layout] skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Reflection cube map asset ====== | ||
+ | |||
+ | < | ||
+ | asset texture.reflect.map01 { | ||
+ | interior.path = " | ||
+ | exterior.path = " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Asset metadata ===== | ||
+ | |||
+ | |||
+ | ^ Variable^ Description | | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | |||
+ | |||
+ | ===== 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: | ||
+ | |||
+ | |||
+ | |||