DarthRaff Posted March 26, 2010 Share Posted March 26, 2010 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. Quote Link to comment Share on other sites More sharing options...
DaDonik Posted March 27, 2010 Share Posted March 27, 2010 Maybe you have some old LUA scripts in your game folder, which don't support the new static lightning stuff and therefore show nothing. Quote (Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI) Link to comment Share on other sites More sharing options...
DarthRaff Posted March 27, 2010 Author Share Posted March 27, 2010 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 ? Quote Link to comment Share on other sites More sharing options...
Canardia Posted March 27, 2010 Share Posted March 27, 2010 You need to copy the Entities folder also. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
DarthRaff Posted March 27, 2010 Author Share Posted March 27, 2010 Yes, all working now. Thank you very much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.