Lights (Metroid Prime): Difference between revisions

no edit summary
>Aruki
No edit summary
>Aruki
No edit summary
Line 7: Line 7:
==Format==
==Format==


The header for the light section is extremely simple and consists of the magic value <code>0xBABEDEAD</code>. It's then followed by two arrays of lights, each preceded by a light count.
The lights section has a very brief header consisting of the magic value <code>0xBABEDEAD</code>. It's then followed by a number of '''light layers'''. Each light layer consists of a count value, then an array of lights. Each layer represents a separate set of lights; actors can choose with set they're lit with through an object property in LightParameters. The number of light layers is static, but it varies from game to game; Prime 1 and 2 can have up to two light layers, while Prime 3 can have four.


=== Metroid Prime 1/2 ===
=== Metroid Prime 1/2 ===
Anonymous user