-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Penumbra OpenGL port #10
Comments
Up, I'm also interested by this port 😄 |
@TheZNC @Skelord Hey! If it helps, I could try to push out a DesktopGL version of the library. Unfortunately, I don't plan to tackle any of the other platforms. |
@discosultan Please do, that would a lot of people out so much! Your project is insanely good , btw! |
@discosultan totally agree on that. Penumbra is awesome! And I'm sure it will get more and more attention over time. Espacially when there is a DesktopGL or UWP port (or both). On top of everything it would be incredible helpful for indiedevs. Without a doubt: Penumbra is the best 2D lighting engine for newer MonoGame releases. It is beautiful and fast. |
@TheZNC @Skelord @SamTheT @sqrmin1 I've added DesktopGL support (d3dbd3b). I managed to do a quick smoke test but it'd be great if someone else could confirm it is working for them. The nuget is available here: https://www.nuget.org/packages/MonoGame.Penumbra.DesktopGL/ Samples are still only running on WindowsDX. |
@discosultan You are a genius! And very fast ;) I just tested your DesktopGL solution and it works like a charm. With your solution I was able to run my Farseer Physics sample. Very nice! I encountered just one error message: CS0246 C# The type or namespace name could not be found (are you missing a using directive or an assembly reference?) And this error message is in relation witth "ResourceContentManager" in MonoGame.Penumbra.DesktopGL -> PenumbraComponent.cs row 106 |
@sqrmin1 It was attempting to load MonoGame dll from GAC for an invalid platform and it only happened on first run (before nuget packages were restored). I removed any nuget based references to MonoGame altogether and now attempt to reference MonoGame directly from its installation directly (similar to what MonoGame project templates do). Hopefully no more errors :) (ba7f606) |
clever 👍 everything is working flawlessly now. You did a very good job! I'm proud of you :) This will be very helpful for many people out there. I hope that they will leave a big thank you here for you! |
I'm glad it's working for you 👍 I did find another issue with textured lights on DesktopGL which should be fixed now (4c3e9f6) |
I didn't played around with textured lights yet. But it's great that you have found and fixed another bug 🥇 Are you gathering games who are implemented your Penumbra system somewhere on a site or do you planning to do so? Could be great to see what people did or do with Penumbra ;) Sorry for off-topic question, but I'm not sure if I should open a new "issue" for that^^ On the other hand it would be a great way to collect some links and pictures of projects. |
You can open an issue for that, that's fine :) I know there was one simple finished or close-to-finished game making use of Penumbra but I can't recall what it was. I've also seen a few in-dev game using it, but I don't know of any which has a website or code/screenshots available. |
Thanks for the information! Done #14 :) |
Great job @discosultan! Good library, i liked it!
But i (think not only i) are interested in OpenGL port.
Is it realizable? I think there are many people who support me, for saint cross-platform in fridges, microwaves, calculators and etc. =)
Currently there are only one good OpenGL 2D lighting/shadowing engine. Krypton-XNA, but the author abandoned it from 2011.
I trying to port it to MonoGame 3.5+, but no success. Dynamic shadows dont work properly.
And in dev. release (Krypton) i got only black screen.
So, what about the port of your library?
Regards, TheZNC
The text was updated successfully, but these errors were encountered: