Guest Red Ocktober Posted November 29, 2009 Share Posted November 29, 2009 in the editor, the point lights i have in my scene show up nicely... but when i run the exe outside the editor, my point lights aren't there... anyone else getting the same... --Mike Quote Link to comment Share on other sites More sharing options...
macklebee Posted November 29, 2009 Share Posted November 29, 2009 hmmm... no I just added a pointlight to my test scene and it seemed to work just fine... perhaps its the same issue with the spotlight, where the INI file is wrong, so when you save it sets the SBX settings to something that will not actually show the pointlight Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted November 29, 2009 Share Posted November 29, 2009 k... looking into it now... thx Mack... --Mike Quote Link to comment Share on other sites More sharing options...
macklebee Posted November 29, 2009 Share Posted November 29, 2009 Mike, try changing the light_point INI file from this: classname="light_point" color=255,255,255,255 intensity=1 range=10 shadowmapsize=256 shadowoffset=0.0,0.95 inversesquarefalloff=1 to this: classname="light_point" color=255,255,255,255 intensity=1 range=10 resolution=0 linearoffset=0.0 multoffset=0.95 inversesquarefalloff=1 This is the easiest so you don't have to change the lua script. Linearoffset and multoffset replace shadowoffset. Resolution replaces shadowmapsize in the INI file and the settings are this: resolution=0 is a shadowmapsize of 256 resolution=1 is a shadowmapsize of 512 resolution=2 is a shadowmapsize of 1024 resolution=3 is a shadowmapsize of 2048 Then restart the Editor and open up your scene and click onto your pointlight and check the settings... then resave the sbx and see if works now... you might have to delete the pointlight and recreate it to get it to work correctly. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted November 30, 2009 Share Posted November 30, 2009 changing the .ini file seems to have been the solution... thx again... i think i spoke too soon... it the exe doesn't seem to be reading in the keys or something... lights still aint being set properly... --Mike Quote Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted November 30, 2009 Share Posted November 30, 2009 i just found the problem... see here http://leadwerks.com/werkspace/index.php?/topic/221-i-just-found-out/ geeez... --Mike 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.