MonoGame implementation.
Donaut opened this issue · comments
What kind of texture filtering do you use? It should be point, not linear, and mipmaps should be disabled.
Ok, the biggest problem was the Blending state. I think Nuklear uses premultiplied alpha while MonoGame didn't.
Somehow I managed to solve the problem. If somebody has the knowledge why it's working please tell me.
Can you share your process of getting NuklearDotNet to work in MonoGame? I just cloned the repo and I can't even get the examples to build. Not sure how to start with MonoGame.
The errors when I try to build ExampleShared or Example_WindowsForms:
Severity Code Description File Line Suppression State
Error C1083 Cannot open include file: 'nuklear.h': No such file or directory C:\Dev\XNA--Monogame\NuklearDotNet\NuklearDotNetRepo\Nuklear2\Nuklear.c 17
Error CS5001 Program does not contain a static 'Main' method suitable for an entry point C:\Dev\XNA--Monogame\NuklearDotNet\NuklearDotNetRepo\ExampleShared\CSC 1 N/A
Edit: If it matters, I installed NativeLibraryLoader, which is given as a requirement in the original project.
@kriskeillor please check the new issue i opened about this