Jump to content

Front Gallery lighting is turned on, it also becomes bright in the cockpit


Recommended Posts

Posted (edited)

It looks like the cockpit door is open in your picture?

If it isn´t, then the camera position should govern it - we have to "fake" the cockpit door blocking the light because the lighting engine in X-plane does not allow solid structures blocking any light besides the sun (and even that not always).

So we "fake" the door blocking the light by checking wether the camera is in the cockpit AND the cockpit door is closed. If this is TRUE, we turn off the galley light (even though the switch is actually ON).

But if you move the camera out of the cockpit (like in your screenshot), the light goes back on and will illuminate the cockpit a little bit.

Edited by Litjan
  • Upvote 1
Posted
On 11/21/2023 at 10:41 AM, Litjan said:

But if you move the camera out of the cockpit (like in your screenshot), the light goes back on and will illuminate the cockpit a little bit.

Huh, this is a gotcha moment for me

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...