[DiscordArchive] can anyone answer me this, does the sequence from the multiplied number of your light ID go UP or DO
[DiscordArchive] can anyone answer me this, does the sequence from the multiplied number of your light ID go UP or DO
Archived author: Sanctuary • Posted: 2021-12-12T23:48:33.427000+00:00
Original source
can anyone answer me this, does the sequence from the multiplied number of your light ID go UP or DOWN?
Archived author: Titi • Posted: 2021-12-12T23:48:46.777000+00:00
Original source
does it only happen with ur new skybox ? idk how skyboxes work but maybe they have transparancy and the sun need to light through them ? idk
Archived author: Sanctuary • Posted: 2021-12-12T23:51:02.533000+00:00
Original source
Example: LIGHTID is 920 multiplied by 36 is 16560. Do i start with 16560 then go UP to 16561, 16562, all the way to 16577? Or do I go down? Ending with 16543?
Archived author: Nix • Posted: 2021-12-12T23:53:09.667000+00:00
Original source
The calc gives you the first row
Archived author: Sanctuary • Posted: 2021-12-12T23:53:50.162000+00:00
Original source
yes thats my 16560, then the 2nd row will be 16561 right?
Archived author: Nix • Posted: 2021-12-12T23:53:56.632000+00:00
Original source
Yes
Archived author: Sanctuary • Posted: 2021-12-12T23:56:05.950000+00:00
Original source
ok i did that part good so far at least
Archived author: Sanctuary • Posted: 2021-12-12T23:57:55.469000+00:00
Original source
and how do i get the lightfloatband ID's?
Archived author: Nix • Posted: 2021-12-12T23:59:55.761000+00:00
Original source
Your LightID will have LightParams, a lightParam will have 18 rows in LightIntBand and 6 in LightFloatBand
Archived author: Nix • Posted: 2021-12-13T00:01:17.188000+00:00
Original source
So to get your start IDs you do this
```cpp
u32 lightIntBandStartId = ((lightParams->id - 1) * 18) + 1;
u32 lightFloatBandStartId = ((lightParams->id - 1) * 6) + 1;
```