View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006047 | Spring engine | General | public | 2018-09-30 06:13 | 2019-01-16 22:41 |
| Reporter | raaar | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 104.0 | ||||
| Summary | 0006047: option to have engine shields consume less particles | ||||
| Description | currently engine shields seem to consume a fixed amount of particles from the particle pool: 192 this means that even on high graphics settings (20k particle limit), if both teams decide to build lots of shielded units, like 25 each on a 2v2 game, the particle limit is reached and explosions and many other ceg-based effects will no longer be rendered. the shields add to the particle limit even if they're not visible! - there should be an option to lower the detail level or something for smaller shields to avoid this problem. | ||||
| Steps To Reproduce | game metal factions v0.999 spawn "sphere_golem" (small shield) or "sphere_aegis" (large shield) check the particle counts on alt-n view | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
if you spawn a shielded unit for an enemy team halfway across the map, outside of LOS coverage, the active particle count still grows by 192 |
|
|
there are alternatives to engine shield rendering which both look and perform better, start using them. |
|
|
@raaar, here is an example how shields can be implemented in Lua: https://github.com/lhog/Zero-K/blob/master/LuaRules/Gadgets/lups_shield.lua https://github.com/lhog/Zero-K/blob/master/lups/ParticleClasses/ShieldSphereColorHQ.lua I'm a bit more experienced with GLSL now, than I was when the Lups shields were done, so I'd do a few things differently, but generally it should provide a good example to start with for you. |
|
|
thanks, i'll check that out. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-09-30 06:13 | raaar | New Issue | |
| 2018-09-30 06:16 | raaar | Note Added: 0019374 | |
| 2018-09-30 12:34 | Kloot | Note Added: 0019375 | |
| 2018-09-30 12:35 | Kloot | Severity | major => minor |
| 2018-09-30 14:11 | lhog | Note Added: 0019376 | |
| 2018-10-03 06:53 | raaar | Note Added: 0019377 | |
| 2019-01-16 22:41 | Kloot | Status | new => closed |
| 2019-01-16 22:41 | Kloot | Resolution | open => no change required |