1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

P3Dv4 Dynamic Lighting

Discussion in 'Prepar3D' started by BrBlazer, 30 May 2017.

  1. mariorc

    mariorc

    Joined:
    19 Feb 2011
    Messages:
    9
    Country:
    portugal
    Hi

    Yes I had used night textures to simulate the light in the glass. I would like to have translucent glass during the day and white in the night.
    Multi-material does not work with conditions, so I don't know how to achive that.


    Like suggested:

    The material is opaque and even so the light pass through. :(
    Some detail is missing me or some bug.
    Thank you all.
     
  2. n4gix

    n4gix Resource contributor

    Joined:
    26 Sep 2006
    Messages:
    10,757
    Country:
    unitedstates
    I adjust the pivot point to angle the light .fx downwards until the light no longer shines in the VC.
    For your landing/taxi lights, don't use a Multi-Material. Create a tiny 32x32 texture with the light bulb image, and light it up with "Additive Mode" for self-illumination when the light(s) are on.
     
    mariorc likes this.
  3. him225

    him225

    Joined:
    13 Oct 2015
    Messages:
    88
    That means LM hasn't implemented material opacity for dynamic lights yet? Similar issue occurs when aircraft passes or parked near a light mast.
     
  4. John514

    John514

    Joined:
    3 Jan 2017
    Messages:
    7
    Country:
    greece
    Which is strange since landing lights from the user's aircraft don't shine through buildings and off to the other side of walls, which means the ability to "stop" the light is there but somehow the walls of a VC don't seem to be doing.

    Can someone try adding a huge *wall* (basically a large square) in the VC mesh and position it between the landing lights and cockpit? Make sure the normals are facing towards the lights. You won't be able to see it from the front, where the VC is cause it won't be a two sided material but it will be visible if you move the camera outside the cockpit and close to where the lights would be in the external model. If that makes sense.
     

Share This Page