Forums WoW Modding Support Archives WoWModding Support Archives [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

[DiscordArchive] can anyone answer me this, does the sequence from the multiplied number of your light ID go UP or DO

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
12-12-2021, 11:48 PM
#1
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?
rektbyfaith
12-12-2021, 11:48 PM #1

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?

rektbyfaith
Administrator
0
12-12-2021, 11:48 PM
#2
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
rektbyfaith
12-12-2021, 11:48 PM #2

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

rektbyfaith
Administrator
0
12-12-2021, 11:51 PM
#3
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?
rektbyfaith
12-12-2021, 11:51 PM #3

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?

rektbyfaith
Administrator
0
12-12-2021, 11:53 PM
#4
Archived author: Nix • Posted: 2021-12-12T23:53:09.667000+00:00
Original source

The calc gives you the first row
rektbyfaith
12-12-2021, 11:53 PM #4

Archived author: Nix • Posted: 2021-12-12T23:53:09.667000+00:00
Original source

The calc gives you the first row

rektbyfaith
Administrator
0
12-12-2021, 11:53 PM
#5
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?
rektbyfaith
12-12-2021, 11:53 PM #5

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?

rektbyfaith
Administrator
0
12-12-2021, 11:53 PM
#6
Archived author: Nix • Posted: 2021-12-12T23:53:56.632000+00:00
Original source

Yes
rektbyfaith
12-12-2021, 11:53 PM #6

Archived author: Nix • Posted: 2021-12-12T23:53:56.632000+00:00
Original source

Yes

rektbyfaith
Administrator
0
12-12-2021, 11:56 PM
#7
Archived author: Sanctuary • Posted: 2021-12-12T23:56:05.950000+00:00
Original source

ok i did that part good so far at least
rektbyfaith
12-12-2021, 11:56 PM #7

Archived author: Sanctuary • Posted: 2021-12-12T23:56:05.950000+00:00
Original source

ok i did that part good so far at least

rektbyfaith
Administrator
0
12-12-2021, 11:57 PM
#8
Archived author: Sanctuary • Posted: 2021-12-12T23:57:55.469000+00:00
Original source

and how do i get the lightfloatband ID's?
rektbyfaith
12-12-2021, 11:57 PM #8

Archived author: Sanctuary • Posted: 2021-12-12T23:57:55.469000+00:00
Original source

and how do i get the lightfloatband ID's?

rektbyfaith
Administrator
0
12-12-2021, 11:59 PM
#9
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
rektbyfaith
12-12-2021, 11:59 PM #9

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

rektbyfaith
Administrator
0
12-13-2021, 12:01 AM
#10
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;
```
rektbyfaith
12-13-2021, 12:01 AM #10

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;
```

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)