Lights should light other entities

    Joined
    Mar 2, 2014
    Messages
    1,293
    Reaction score
    230
    • Thinking Positive
    • Community Content - Bronze 1
    • Legacy Citizen 3
    I tried to make moving lights, but they don't work since block lighting doesn't work across different entities. This wasn't really an issue in the past, but with the rail system there are way more situations where it looks weird. Also, we could make so many cool things with moving lights, like disco lighting for example.
     
    • Like
    Reactions: SkylordLuke

    Keptick

    Building masochist
    Joined
    Sep 26, 2013
    Messages
    4,062
    Reaction score
    1,841
    • Councillor 2 Gold
    • Railman Gold
    • Thinking Positive Gold
    Been suggested in the past, I think that the issue was that it'd require a massive rewrite of the lighting engine or the fact that it'd affect performance a lot.

    Apart from that yes, it would be a nice feature.
     
    Joined
    Feb 17, 2014
    Messages
    60
    Reaction score
    8
    Look at Space engineers with the spot light. This is dynamic lighting and with more than a few you can already notice slow down. Simply put from a programmers prospective dynamic lighting is expensive.
     
    Joined
    Jan 28, 2015
    Messages
    26
    Reaction score
    8
    My computer already has half FPS when shadows are enabled, this is even more computer intensive.
     
    Joined
    Aug 5, 2013
    Messages
    405
    Reaction score
    140
    • Community Content - Bronze 1
    may be this can be an opinion, like shadow?
     
    Joined
    Jan 24, 2015
    Messages
    57
    Reaction score
    46
    • Purchased!
    It probably wouldn't be worth it performance wise if all lights could light all entities (making them all dynamic lights).

    I do agree that there should be something like a spot light though. If dynamic lights had their own block, it would be relatively simple to take some measures to reduce their impact on performance. For example, limiting the number of drawn dynamic lights, the same way that the number of drawn beams are limited in the options menu.
     

    jayman38

    Precentor-Primus, pro-tempore
    Joined
    Jul 13, 2014
    Messages
    2,518
    Reaction score
    787
    • Purchased!
    • Thinking Positive
    • Legacy Citizen 4
    Maybe the game could dynamically cull lighting calculations.
    1. Max Number of entities a light could illuminate: [3] closest entities
    2. Max Distance Light illuminates: [5] block lengths
    3. Max Number of lights effecting an entity: [3] closest lights
    4. Max Number of blocks per entity illuminated by lights: [50] center-most blocks
    5. Max Number of blocks (in universe) illuminated by lights: [1024]
     
    Joined
    Jun 20, 2013
    Messages
    462
    Reaction score
    70
    • Legacy Citizen 3
    • Purchased!
    • Community Content - Bronze 1
    My computer already has half FPS when shadows are enabled, this is even more computer intensive.
    starmade isn't a computer intensive game and we are in 2015 those old computers are starting to be needed to replaced and laptops aren't pc's made for pure gaming