MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0004482 | Zandronum | [All Projects] Bug | public | 2025-03-31 17:12 | 2025-03-31 19:06 |
Reporter | IlyStr | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | ASRock B550, AMD Ryzen 5 56 x64 | OS | Windows 10 LTSC Enterprise | OS Version | 21H2 (19044.357) |
Product Version | 4.0-beta | ||||
Target Version | Fixed in Version | ||||
Summary | 0004482: Flicker dyn.light's radius chance is inverted (Relatively to GZDoom and UDB) | ||||
Description | In GZDoom and UDB: 1 — Almost always radius №2 359 — Almost always radius №1 Zandronum: 1 — Almost always radius №1 359 — Almost always radius №2 Why? It's supposed to be easily solved here 'https://github.com/TorrSamaho/zandronum/blob/2ec1c262355a59762353dc9594d6f3c3b79fb508/src/gl/dynlights/a_dynlight.cpp#L267 [^]' ``` m_currentIntensity = float(m_intensity[rnd >= (1.f-pct) * 255]); ``` or more accurately here 'https://github.com/TorrSamaho/zandronum/blob/2ec1c262355a59762353dc9594d6f3c3b79fb508/src/gl/dynlights/a_dynlight.cpp#L265 [^]' ``` float pct = ANGLE_TO_FLOAT(360-angle)/360.f; ``` | ||||
Steps To Reproduce | |||||
Additional Information | I have 16+ dyn. flicker lights on map with second radius 0 and angle 350 Max lights on in GZDoom:'https://imgur.com/emuYEjQ [^]' Max lights on in Zandronum:'https://imgur.com/zWiYzT7 [^]' | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2025-03-31 17:12 | IlyStr | New Issue | |||
2025-03-31 17:14 | IlyStr | Note Added: 0024372 | |||
2025-03-31 17:17 | IlyStr | Note Edited: 0024372 | bug_revision_view_page.php?bugnote_id=24372#r14520 | ||
2025-03-31 19:06 | IlyStr | Note Added: 0024374 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|