Löve "Light vs. Shadow" Engine v2
Re: Löve "Light vs. Shadow" Engine v2
Uhh... broken with new Love version... Will there be a fix?
Re: Löve "Light vs. Shadow" Engine v2
Good job with the rewrite! Very impressive!
Lua is not an acronym.
Re: Löve "Light vs. Shadow" Engine v2
Do you know if this version of Light vs. Shadow Engine v2 is supported on Android?
While starting the basic demos, I get errors like the below (OPO, Android 6.0.1, Love2d from Google Play):
Line1: ERROR: 'uniform' : cannot initialize this type of qualifier
On desktop these demos run fine.
While starting the basic demos, I get errors like the below (OPO, Android 6.0.1, Love2d from Google Play):
Line1: ERROR: 'uniform' : cannot initialize this type of qualifier
On desktop these demos run fine.
Re: Löve "Light vs. Shadow" Engine v2
Is there a way to create a "sun" with this engine ? I've tried placing a light far away with huge range, but of course, I'm getting awful performances.
Also, the image shadows seem broken right now.
Also, the image shadows seem broken right now.
-
- Citizen
- Posts: 87
- Joined: Tue Dec 30, 2014 6:07 pm
Re: Löve "Light vs. Shadow" Engine v2
On mobile love2d uses OpenGL ES, rather than normal OpenGL. This is in some ways incompatible with OpenGL code written without concern for ES, though you can wrestle with the pixel shaders and make them all ES compliant, and thus able to run on phones as well as desktops. This is exactly what I've been doing with a similar but different project called shadows that a game I've been working on depends on.
You can see the sort of changes you have to make to the shaders to make them compliant by looking at my main pull request
https://github.com/matiasah/shadows/pull/1
You can see the sort of changes you have to make to the shaders to make them compliant by looking at my main pull request
https://github.com/matiasah/shadows/pull/1
- Guard13007
- Party member
- Posts: 134
- Joined: Sat Oct 25, 2014 3:42 am
- Location: Internet, USA
- Contact:
Re: Löve "Light vs. Shadow" Engine v2
How similar is this? Is the API completely different? How do the features compare?Skeletonxf wrote: ↑Wed Apr 12, 2017 8:56 pm [...] a similar but different project called shadows [...]
-
- Citizen
- Posts: 87
- Joined: Tue Dec 30, 2014 6:07 pm
Re: Löve "Light vs. Shadow" Engine v2
You can see for yourself.
https://github.com/matiasah/shadows/wiki
A word of warning, the repository says the wiki is out of date. I don't know what features and API overlap because I have only used shadows myself.
https://github.com/matiasah/shadows/wiki
A word of warning, the repository says the wiki is out of date. I don't know what features and API overlap because I have only used shadows myself.
Re: Löve "Light vs. Shadow" Engine v2
Can you draw shadows from image files using this ?Skeletonxf wrote: ↑Sun Apr 23, 2017 3:21 pm You can see for yourself.
https://github.com/matiasah/shadows/wiki
A word of warning, the repository says the wiki is out of date. I don't know what features and API overlap because I have only used shadows myself.
-
- Citizen
- Posts: 87
- Joined: Tue Dec 30, 2014 6:07 pm
Re: Löve "Light vs. Shadow" Engine v2
I'm not entirely sure what you mean. Do you want to hand over ImageData to a library and get that shadowed-ified?
I've only used it for basic shape shading - shapes defined in the engine.
I shouldn't be too hard to edit the glsl till it is ES compatible in any shading engine, anyway. It's basically syntax style changes, nothing very complicated and you shouldn't have to modify any of the lua files as you wouldn't be changing the shaders's functionality.
I've only used it for basic shape shading - shapes defined in the engine.
I shouldn't be too hard to edit the glsl till it is ES compatible in any shading engine, anyway. It's basically syntax style changes, nothing very complicated and you shouldn't have to modify any of the lua files as you wouldn't be changing the shaders's functionality.
Re: Löve "Light vs. Shadow" Engine v2
Thanks for the reply. I figured this out a bit later. Due to the error above, I even learned how to write myself some shadersSkeletonxf wrote: ↑Wed Apr 12, 2017 8:56 pm On mobile love2d uses OpenGL ES, rather than normal OpenGL.
You can see the sort of changes you have to make to the shaders to make them compliant by looking at my main pull request
https://github.com/matiasah/shadows/pull/1
Who is online
Users browsing this forum: No registered users and 2 guests