Search found 42 matches

by giann
Thu Dec 18, 2014 1:54 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

If your character cast a shadow and your light is exactly on top of it, it will block out the light. You need to position your light just at the edge of your character image. When you change your light direction, you also need to move the light to the opposite edge of your character image in that di...
by giann
Thu Dec 11, 2014 7:33 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

Knowing that almost everything is done via shaders, I'm quite convinced there is a bottleneck somewhere.
by giann
Thu Dec 11, 2014 7:29 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

AMD radeon HD 6350. 800x600 is fine, > 1024 is far worse.
by giann
Thu Dec 11, 2014 7:13 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

I'm aware that off screen lights/bodies are not accounted for. The numbers I gave take that fact into account.

The drop should not be that drastic in my opinion. If I can't have 3 lights and 5 bodies at 720p at 30fps minimum, this is a performance issue, not a normal occurence.
by giann
Thu Dec 11, 2014 4:40 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

Do you think there's room for improvements in terms of performances ? My FPS drops really quickly the more I add bodies and lights. Edit: Another weird issue is that FPS seems to drops relative to the screen size regardless of the number of lights/bodies. 800x450: 50fps 1280x720: 20fps with the same...
by giann
Fri Dec 05, 2014 10:54 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

Blur is back ! Thks ;)
by giann
Fri Dec 05, 2014 10:52 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

Not really since there is nothing much. I'll get a better idea when i'll add more lights. With the old version of light vs shadow, fps was dropping quickly when there was more than 3-5 lights. I switched back body:drawImageShadow to your previous version, I prefer the shorter shadows. Or is there an...
by giann
Fri Dec 05, 2014 10:37 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

The issue with multiples ligths is fixed. But now the shadow aren't blurred. I tried :setShadowBlur with no success.
by giann
Fri Dec 05, 2014 3:31 pm
Forum: Libraries and Tools
Topic: Löve "Light vs. Shadow" Engine v2
Replies: 140
Views: 119912

Re: Löve "Light vs. Shadow" Engine v2

Awesome work ! Thanks a lot !

There seems to be a problem with multiple lights.

I have 2 lights: the first is ok, the second works ok for the shadows but the bodies are not lighted.
by giann
Wed Nov 12, 2014 8:17 pm
Forum: Libraries and Tools
Topic: LÖVE3D
Replies: 201
Views: 165577

Re: LÖVE3D

This really seem awesome !

Is there any documentation for your API somewhere ?