Commit b257cc2
authored
Solari: Make light tiles properly random (#24670)
# Objective
- Due to reusing the same constant in presample_light_tiles RNG as I
used in the frame_index RNG, the light tiles were not properly random.
Tile N+1 on frame X+1 would use the same pool of light as tile N on
frame X - it was just "scrolling" each frame.
## Solution
- Use a different constant to properly randomize the pool1 parent 82404b6 commit b257cc2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments