Forums Gallery Downloads LOGIN |REGISTER

[Crysis 2 Mod SDK] FakeLight option broken :/

If you have problems with the Sandbox editor or other provided tools, let us know here.


 

User avatar
OCASM
Not my first Rodeo
Not my first Rodeo
 
Posts: 452
Member since: 23.09.2011, 02:21
Likes: 107

[Crysis 2 Mod SDK] FakeLight option broken :/

Postby OCASM » 01.05.2012, 03:00

FakeLight option worked in Crysis 1, Warhead and the freeSDK. Why not in Crysis 2? :(

I wanted to have many lights with coronas but without the FakeLight option the editor crashes often because of the very high dynamic light count. Too much for deferred lighting, it seems.

A Light Propagation Volume doesn't help either because it disables the coronas :|

Any workarounds? Or will I have to wait for Crysis 3 to be able to make mods using light coronas ;(

Image

EDIT: Actually, even while using Fake Lights in the Free SDK, the system chokes with 300 or so too, lol.
User avatar
Cry-Adam
Crytek Staff Member
Crytek Staff Member
 
Posts: 11269
Images: 182
Member since: 09.01.2008, 01:11
Location: Crytek HQ
Likes: 845

Re: [Crysis 2 Mod SDK] FakeLight option broken :/

Postby Cry-Adam » 02.05.2012, 11:07

You have 283 lights in one scene and are wondering why it's crashing? :/

Surely there's a better way to achieve what you're trying to achieve?

Image
Image
No dev/modding PM's please, use the forums! :)
Achievement Unlocked: Wear the Winter avatar all year.
User avatar
OCASM
Not my first Rodeo
Not my first Rodeo
 
Posts: 452
Member since: 23.09.2011, 02:21
Likes: 107

Re: [Crysis 2 Mod SDK] FakeLight option broken :/

Postby OCASM » 05.05.2012, 17:50

Well, I thought deferred rendering would help on this. The light radius is very small so it shouldn't be too bad performance wise, and it isn't until I hit 300 lights that performance takes a nose dive.

Also, fake lights were apparently designed for situations like this so you could have plenty of corona effects without lighting calculations.

In any case, I guess I should just avoid area lights to limit the amount of flares needed.
USSR_GRAND
Producer
Producer
 
Posts: 1426
Member since: 20.07.2011, 21:46
Likes: 109

Re: [Crysis 2 Mod SDK] FakeLight option broken :/

Postby USSR_GRAND » 15.05.2012, 04:28

Hey did you ever figure it out? I would like to know how to make lights like the one in the screenshot above.
Image
User avatar
OCASM
Not my first Rodeo
Not my first Rodeo
 
Posts: 452
Member since: 23.09.2011, 02:21
Likes: 107

Re: [Crysis 2 Mod SDK] FakeLight option broken :/

Postby OCASM » 16.05.2012, 01:57

I decided to simply limit the amount of lights and keep them under 300. For the ceiling lights in the screenshot above I was using 22 lights each (7 cross-shaped flares, 7 circular flares to imitate a bigger bloom effect, 7 blind flares that get very intense when you're close to the light and the actual destroyable light). Overkill xD.


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community