Jump to content

Lights appearing and disappearing


Recommended Posts

Guest heyjeebus
Posted

I've been playing with the demos from the evaluation version and I encountered a really nasty issue.

This happens in the underground demo,when I turn my back the lights behind me are turned off and sometimes (happens quite a lot actually) when I turn the camera quickly those lights will then suddenly light up again.

 

I suppose this is here for optimization purposes but this is really nasty, can this be turned off or at least minimized?

Posted

It might be that the evaluation version had some entity occlusion for the lights enabled, but it's also a quite old version of the engine, and might have been a bug at that time also.

 

Entity occlusion can be enabled or disabled per entity ( see http://www.leadwerks.com/wiki/index.php?title=Entities#EntityOcclusionMode ) to optimize performance, but usually it's not needed since the engine and OpenGL has also automatic occlusion which is usually good enough.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Posted

Yes, you can set the occlusion culling mode to 0 (disabled). I believe this problem has been fixed pretty well in more recent versions of the engine.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

No problems with any lights here.

The only thing i can think of is that only one directional ligh is supported atm.

But thats not an issue at all biggrin.gif

(Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI)

Posted

You can have as many directional lights as you want. But it makes no sense, since it would slow down the performance horribly. Framework is designed on one directional light also, as that's how nature on earth works too. It's either Sun or Moon light, but never both. Even if both are in the sky, only one would cast the light, the moon would only do a slight reflection which would vanish like one to a million under the sunlight. Of course you can have then hundreds of spotlights and pointlights all with realtime shadows without any major performance hit, that's how you should design your scenes.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Guest heyjeebus
Posted

that's great to know, at this point I'm seriously considering buying it.

I may have more questions in the near future, but that's it for now. :)

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.

×
×
  • Create New...