Search found 24 matches

by Starkkz
Wed Jan 17, 2018 5:34 pm
Forum: Libraries and Tools
Topic: Shädows (A light engine)
Replies: 40
Views: 46633

Re: Shädows (A light engine)

I see, the issue has to be around here. https://github.com/matiasah/shadows/blob/master/Shaders.lua#L104 Though I'm not completely sure what could be causing it. Maybe the distance between the farthest pixel to the center of the light, is lower than the radius value that the shader is using. So when...
by Starkkz
Sun Jan 07, 2018 12:12 pm
Forum: Libraries and Tools
Topic: Shädows (A light engine)
Replies: 40
Views: 46633

Re: Shädows (A light engine)

I updated the shaders on the repository, could you try them and tell me if they work for you?
by Starkkz
Tue Jul 12, 2016 7:31 pm
Forum: Libraries and Tools
Topic: Shädows (A light engine)
Replies: 40
Views: 46633

Re: Shädows (A light engine)

Alright, after trying to use polygons to solve this out desperately I ended up realizing that the shadow's image was being eaten by the light's shadow'd area. So in order to get a corrected soft shadow I had to use a multiply blending mode, basically I changed a little piece of the code and I think ...
by Starkkz
Tue Jul 12, 2016 1:01 pm
Forum: Libraries and Tools
Topic: Shädows (A light engine)
Replies: 40
Views: 46633

Re: Shädows (A light engine)

That's the bloom effect. About the polygons, maybe I could use a textured Mesh.
by Starkkz
Tue Jul 12, 2016 2:25 am
Forum: Libraries and Tools
Topic: Shädows (A light engine)
Replies: 40
Views: 46633

Re: Shädows (A light engine)

I seem to have achieved softer shadows but my shader script isn't somewhat amazing so I'm probably going to need a little bit of contributions in there.
Image
by Starkkz
Mon Jul 11, 2016 5:35 pm
Forum: Libraries and Tools
Topic: Shädows (A light engine)
Replies: 40
Views: 46633

Re: Shädows (A light engine)

I applied some optimization filters, could you try it again? What do you mean by mild halos, could you show me some screenshots? I could implement a 'infinite' length canvas for multi-use inside the light engine, although it may be a bit complex. I'm unable to make soft shadows, I already tried and ...
by Starkkz
Sun Jul 10, 2016 7:26 pm
Forum: Libraries and Tools
Topic: Shädows (A light engine)
Replies: 40
Views: 46633

Re: Shädows (A light engine)

Here you go.
https://github.com/Starkkz/shadows/wiki ... onstration
https://github.com/Starkkz/shadows/wiki ... onstration

It's supposed to do the same, the first example uses a love.physics world and the second one are plain Lua functions from the library.
by Starkkz
Sun Jul 10, 2016 6:25 pm
Forum: Libraries and Tools
Topic: Shädows (A light engine)
Replies: 40
Views: 46633

Shädows (A light engine)

Hello, I'm here to share my dynamic shadows and lights library. This is pretty comparable to Light vs Shadows by PriorBlue, since most of the code was inspired from it. Except that this one has major optimizations in it's code. Pgyg6NHpbLk Repository https://github.com/Starkkz/shadows Wiki https://g...
by Starkkz
Wed Jun 15, 2016 11:27 pm
Forum: Libraries and Tools
Topic: Starkkz's GUI [WIP]
Replies: 6
Views: 4716

Re: Starkkz's GUI [WIP]

DanielPower wrote:This looks like a promising project, but I actually can't get it to draw anything on-screen. I just get a black screen. Something I'm doing wrong?
Sorry for answering too late, you have gui.mousepressed on love.mousereleased.

You also have to call gui.load() before creating your gui objects.
by Starkkz
Thu Jun 02, 2016 7:37 pm
Forum: Libraries and Tools
Topic: Starkkz's GUI [WIP]
Replies: 6
Views: 4716

Re: Starkkz's GUI [WIP]

I'm afraid I can't make the code setup everything with "gui.load()", it would have to overwrite the love.* callbacks that you might've setup yourself for your own game.