Search found 75 matches
- Tue Dec 30, 2014 9:36 pm
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
Re: Löve "Light vs. Shadow" Engine v2
Is it possible to have shadows cast over bodies that do not cast shadows ? I would like to use the normal map effect on the floor tiles but when I add bodies that do not cast shadows, the character's shadow does not cast over them: Yeah I will have to rewrite a bit though, I use normal maps to sten...
- Sun Dec 28, 2014 2:19 am
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
Re: Löve "Light vs. Shadow" Engine v2
There is no way to do that currently I can add in rotation to image and normal modifiers. while I am at it I might as well add scaling as well.soulaymenc wrote:Uhh, sorry I got no where else to ask, how can I rotate the normal map ?
- Mon Dec 22, 2014 3:26 pm
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
Re: Löve "Light vs. Shadow" Engine v2
Also, that is a good looking game! It has come a long way since the first screenshots. Glad I could help out with that.
- Mon Dec 22, 2014 2:37 pm
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
Re: Löve "Light vs. Shadow" Engine v2
Okay sorry about that, I took out some functionality because I didnt think it added that much but I didnt think about how you are using it. I just push a commit adding that back in, you shoud not see the shadow overlap any more.
- Sun Dec 21, 2014 9:02 pm
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
Re: Löve "Light vs. Shadow" Engine v2
Shadow blur was set by default. Do I have to set it manually now ? I set bloom like this: lightWorld.post_shader:addEffect('bloom', {2.0}) Also :setDirection on light is messed up (or it doesn't represent the same thing as before). I'll do some benchmarking and get back to you for the optimization ...
- Sun Dec 21, 2014 8:57 pm
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
Re: Löve "Light vs. Shadow" Engine v2
Shadow blur was set by default. Do I have to set it manually now ? I set bloom like this: lightWorld.post_shader:addEffect('bloom', {2.0}) Also :setDirection on light is messed up (or it doesn't represent the same thing as before). I'll do some benchmarking and get back to you for the optimization ...
- Sun Dec 21, 2014 6:16 pm
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
Re: Löve "Light vs. Shadow" Engine v2
Important! just published an update that will now require update to be called on your light world. This optimizes range checking of light bodies.
Please see the git page for the examples.
Please see the git page for the examples.
- Sun Dec 21, 2014 5:09 pm
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
Re: Löve "Light vs. Shadow" Engine v2
Shadows are not blurred anymore. Also bloom is not working even though drawBloom is called. I have tested it all and the current code on master works for both shadow blur and bloom. can I see your code of how you are setting shadow blur and how you are setting bloom on the postshader? Also any ment...
- Sun Dec 21, 2014 1:22 am
- Forum: Support and Development
- Topic: Nested Stencils?
- Replies: 4
- Views: 2572
Re: Nested Stencils?
mask off the shadow bodies By shadow bodies do you mean the bodies that cast the shadows or the actual shadow darkness? The actual shadow darkness, for now I have settled to just use a sentcil for the range of the light and integrate the shadow stenciling into the shader being used. Not as optimal ...
- Sat Dec 20, 2014 4:04 am
- Forum: Libraries and Tools
- Topic: Löve "Light vs. Shadow" Engine v2
- Replies: 140
- Views: 120685
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 sam...