Discovery Gaming Community
[Effects] Source Lights are inconsistent - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7)
+--- Forum: Discovery Mod General Discussion (https://discoverygc.com/forums/forumdisplay.php?fid=37)
+---- Forum: Discovery Mod Bug Reports (https://discoverygc.com/forums/forumdisplay.php?fid=573)
+----- Forum: Fixed or invalid (https://discoverygc.com/forums/forumdisplay.php?fid=574)
+----- Thread: [Effects] Source Lights are inconsistent (/showthread.php?tid=183849)



[Effects] Source Lights are inconsistent - Chronicron - 10-07-2020

====================
Type: Effects
Bug: Source Lights are inconsistent
====================

As I imagine it, Source lights should be constant, yet they're not and they don't have a set pattern of flickering either




RE: [Effects] Source Lights are inconsistent - Treewyrm - 10-07-2020

1) Sprite flicker is determined by attached light properties and sequential number of hardpoints they're attached to.
2) Lighting on mesh from attached lights is unsupported and won't ever work correctly due to limitations in fixed pipeline of DirectX 8.


RE: [Effects] Source Lights are inconsistent - Groshyr - 10-07-2020

Just saying...

As far as I know there's a limit of three light sources per location due to Freelancer's DX8. Usually, you have at least one source per system - it's the sun (in system file the light source is a separate entity, means, it can be not attached to the sun). Therefore, maximum of the sources you can get is like 1 or 2 additional 'dynamic' light sources.


RE: [Effects] Source Lights are inconsistent - Treewyrm - 10-07-2020

Technically speaking the limit in API is eight, however a number of them are reserved by engine, so actual available count is fewer even. Systems sometimes have secondary light source to create more dramatic effect: hot color from visible light source and dimmed cold color (or reverse) from secondary source, typically set in opposite direction to primary. Practically four overlapping light sources is the limit for system developers. There can be many more of course but they must avoid overlapping then. THN scenes have benefit of light groups to divide them apart, but not systems.


RE: [Effects] Source Lights are inconsistent - Chronicron - 10-07-2020

Two Source lights per ship appears to be the upper limit before Source Lights start to go ham