pkdawson/imgui-godot

ImGui doesn't support scale mode 'viewport' when executing games that use resized graphics.

Opened this issue · 1 comments

When running Godot applications that use resized viewport for graphics, i expected the ImGui interface to display as normal, but didn't expect the interface to actually look pixelated instead.

image

When i look at the console, there's a error: imgui-godot: scale mode viewport is unsupported

How do i use ImGui on resized viewports?

It's not possible to support viewport scaling, but you can achieve a very similar effect by using stretch mode disabled, and putting your entire game in a SubViewport instead. Attached a project which shows the basics of how you might set that up.

GdsViewport.zip