Using The Viewport Stretch Mode And Resizing The Window ... - GitHub
Có thể bạn quan tâm
-
Uh oh!
There was an error while loading. Please reload this page.
- Notifications You must be signed in to change notification settings
- Fork 23.9k
- Star 104k
- Code
- Issues 5k+
- Pull requests 4.4k
- Actions
- Projects 6
- Security
Uh oh!
There was an error while loading. Please reload this page.
- Insights
Description
Godot version: Git 7d6f210
OS/device including version: Fedora 27, NVIDIA 390.48
Issue description: When the window scaling mode is set to 2d or viewport, setting the display/window/stretch/shrink project setting to a value other than 1 will cause the running project's rendering to break (it will appear to be frozen at the splash screen). If the window is resized by the user, it will turn into a black screen. No errors can be seen in the Debugger dock of the editor.
This also occurs when using the viewport stretch mode after resizing the window, even if display/window/stretch/shrink is set to 1.
Steps to reproduce: After making sure the window scaling mode is set to 2d or viewport, set display/window/stretch/shrink to a value other than 1 in the Project Settings then run the project.
Minimal reproduction project: Resize the window diagonally after starting the project.
- 4.x: shrink_bug4.zip
- 3.x: shrink_bug3.zip
Update: I can still reproduce this as of 6110bde (Fedora 30, NVIDIA 418.74). When the bug occurs, this appears in the console when Godot is started with --verbose:
ERROR: _gl_debug_print: GL ERROR: Source: OpenGL Type: Error ID: 1282 Severity: High Message: GL_INVALID_OPERATION error generated. Source and destination dimensions must be identical with the current filtering modes. At: drivers/gles3/rasterizer_gles3.cpp:123. 👍React with 👍1Metadata
Metadata
Assignees
No one assignedLabels
Type
No typeProjects
Godot 3.x Issue TriageStatus
For team assessmentMilestone
- 3.7No due date
Relationships
None yetDevelopment
No branches or pull requestsIssue actions
You can’t perform that action at this time.Từ khóa » Viewport Stretch_mode
-
Make A Viewport Stretch. - Godot Engine - Q&A
-
Stretch_Mode 2D/Viewport Seems To Do Exactly The Same Thing, What ...
-
Problem With Viewports And Stretch Modes - Godot Community Forums
-
Support Multiple Form Factors And Screen Sizes - Android Developers
-
Font Oversampling Does Not Work In 'Viewport' Stretch Mode, Only '2D'
-
Can't Center The Scene To The Screen In Godot? - Stack Overflow
-
Developers - FRT Forcing "display/window/stretch/mode" To "viewport ...
-
Godot Engine | How To Change Resolution Without ... - Facebook
-
Class SceneTree.StretchMode | Godot C# API
-
How To Place Support Frames Using Stretch Mode - Bentley Docs
-
Multiple Resolutions - 《Godot V3.4 Documentation》 - 书栈网
-
Tekuzo On Twitter: "Well, It Looks Like Switching The Stretch Mode From ...
-
How To Make A Silky Smooth Camera For Pixelart Games In Godot