godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.88k stars 20.15k forks source link

Rendering is broken on UWP #8621

Open vnen opened 7 years ago

vnen commented 7 years ago

Just as a note to remind that the renderer is not working on UWP. I managed to get a GLES3 context but it still doesn't work with 3D games.

vnen commented 7 years ago

Material tester demo. At least something is show despite the tons of shader errors I get in console.

applicationframehost_2017-07-12_00-18-53

reduz commented 7 years ago

Is this under Windows and using Angle?

On Wed, Jul 12, 2017 at 12:22 AM, George Marques notifications@github.com wrote:

Material tester demo. At least something is show despite the tons of shader errors I get in console.

[image: applicationframehost_2017-07-12_00-18-53] https://user-images.githubusercontent.com/5599796/28100373-05850f1a-6698-11e7-9277-d27c6df09cf7.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/godotengine/godot/issues/8621#issuecomment-314633734, or mute the thread https://github.com/notifications/unsubscribe-auth/AF-Z23reJ6ujl2uRorGU6fpw5BwgVJjKks5sNDwEgaJpZM4NNnLU .

vnen commented 7 years ago

Is this under Windows and using Angle?

Yes and yes.

akien-mga commented 6 years ago

What's the status on this issue?

vnen commented 6 years ago

It's worse now xD

At the moment I add a mesh to the project it gives a lot of errors in the output and freezes before rendering anything.

I'm trying to investigate what's the root cause, but it's not easy to debug. Probably Godot won't have 3D support in UWP for 3.0 😕

reduz commented 6 years ago

did we not get some 3D support with the recent tweaks we did?

Grosskopf commented 6 years ago

hey, is this still a problem, even in gles2? i'm currently setting up my computer to build for uwp to get the hololens to finally work :D different versions of angle seem to not support gles3 so maybe it renders with gles2?

vnen commented 6 years ago

@Grosskopf with GLES2 it should work much better, but I haven't tested since it's not complete in the master branch yet (there's nothing for 3D).

Actually, I have some tweaks forgotten in some folder in my computer. It doesn't fix everything but lessen the issue. I'll try to wrap it up and send a PR.

akien-mga commented 4 years ago

Actually, I have some tweaks forgotten in some folder in my computer. It doesn't fix everything but lessen the issue. I'll try to wrap it up and send a PR.

Any update? :)

GeorgeS2019 commented 4 years ago

@akien-mga We need just one version that can actually export UWP so to see commitment to encourage more feedback to UWP export. We also need to update that so others like me not trying every possible version to see which STABLE version actually export UWP.

vnen commented 4 years ago

UWP works okay most of the time, except for 3D projects. It's already better with GLES2, though not perfect. In any case, I'll take a look on this tomorrow to confirm that everything is working.

KoBeWi commented 3 years ago

Can anyone still reproduce this bug in Godot 3.2.3 or any later release?

DrewV3 commented 3 years ago

I can confirm rendering issues on UWP. Tested on GLES2, The first image is the UWP export running on windows 10, and the second image is running in the editor on windows 10.

UWP_Screenshot Standard_Screenshot

CarePackage17 commented 2 years ago

I've also noticed that UWP (left) looks different from Win32 (right): godot-uwp-win32

Editor version info:

Godot Engine v3.4.4.stable.official.419e713a2 - https://godotengine.org
OpenGL ES 3.0 Renderer: Radeon RX 580 Series
OpenGL ES Batching: ON

UWP looks much darker than editor/Win32, could it be different color spaces maybe? Idk. Test scene is like 4096 cubes with a spot light from the front.

Edit: never mind. UWP exports seem to default to GLES2 for some reason, and when I restart the editor in GLES2 mode they both look the same. I guess GLES3 is broken on UWP? A warning at export time would be nice though.