Jump to content

Lights question


DarthRaff
 Share

Recommended Posts

Hi,

 

If i save a sbx map with the default lights propertie "lights shadow", and load it in an App, all works perfect but if i change

this propertie to, for example, dynamic+static+buffered, then no lights apear. Can someone tell me if i have to make

a EsceneProcessing like function to have it working ? thank you.

Link to comment
Share on other sites

hi,

i have the scripts folder from 2.31 version copied to my app folder.

 

It's necessary to include something more than:

 

SetGlobalObject("world_main",world);
SetGlobalObject ("camera_main",cam);
SetGlobalObject("listener",listener);

 

or any specific lua script to have that lights properties working properly ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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.

 Share

×
×
  • Create New...