On/off lights

Home Forums General Questions On/off lights

This topic contains 6 replies, has 4 voices, and was last updated by Avatar scalare 1 week, 3 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #13818
    Avatar
    NicolaeIonascu
    Participant

    Hi

    Is it possible to switch the lights via puzzles in the application?

    Thanks

    #13827

    Is it possible to switch the lights via puzzles in the application?

    You can make an animation of the light intensity and play it’s animation using Play Animation puzzle.

    Co-founder and lead graphics specialist at Soft8Soft.

    #13828
    Avatar
    scalare
    Participant

    Hey Mikhail,

    will that count as if the light was not present in the scene? I’m looking for ways to reduce the number of textures used in a scene to improve visualization on IOS. If a light has zero intensity, will a shadow map be generated for it, and therefore count as one texture?

    Thanks!

    #13851

    Hi,

    I think a texture slot is reserved for a light even if its intensity is zero.

    Founder & CEO at Soft8Soft
    LinkedIn | FB | Twitter | VK | 新浪微博

    #13930
    Avatar
    scalare
    Participant

    Ugh, OK, thanks. So it seems there is no way to avoid duplicating the gltf files then? One for IOS (with reduced number of textures) and another one for the rest of the operating systems?

    #13936

    I have an idea – you can probably load additional lights in run time if not on iOS.

    Founder & CEO at Soft8Soft
    LinkedIn | FB | Twitter | VK | 新浪微博

    #13967
    Avatar
    scalare
    Participant

    So I create an additional gltf file with just lights and load it into the current scene? Brilliant! :-D

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.