Open nerdnils opened 3 years ago
When using a viewport, nothing shows up in editor, but it will show in game. I am using this method in my racer game, successfully.
An alternative is to display Controls by projecting their positions: https://github.com/godotengine/godot-demo-projects/pull/567/commits/54a8d37e6cab62f2173492b6fded9be38f0a2167
@nerdnils Please upload a minimal reproduction project to make this easier to troubleshoot. Also, which Godot version are you using?
Also, you have to resize the ViewportContainer manually when the Viewport resolution changes. Otherwise, the viewport's contents will appear stretched due to the X resolution being much greater than the Y resolution (despite the display area being square).
@nerdnils Please upload a minimal reproduction project to make this easier to troubleshoot. Also, which Godot version are you using?
Also, you have to resize the ViewportContainer manually when the Viewport resolution changes. Otherwise, the viewport's contents will appear stretched due to the X resolution being much greater than the Y resolution (despite the display area being square).
Minimal is just create a 3D-Scene, under that node create a viewport, under the viewport a label. look at the viewport when you wrote some text on the label. I have 3.3.2 stable from archlinux repository.
Minimal is just create a 3D-Scene, under that node create a viewport, under the viewport a label. look at the viewport when you wrote some text on the label. I have 3.3.2 stable from archlinux repository.
We can't look into troubleshooting this issue if you don't upload the project you reported the issue with. It's very unlikely that the Viewport node is broken, it seems to be a node configuration issue on your end.
PS: For support questions like these, please use other community platforms and only report bugs after you are certain that they are not due to a node configuration issue.
If it is on my end only why has Zireael07 the same issue? But here you are: https://easyupload.io/h4a7p9 Was 100% created from scratch with that 3 clicks I described on my last post. Same issues.
I only have point one, and this is not a bug, just a limitation of Godot 3. As for the other points, this is likely something badly configured in your viewport/label sizes - I do not have stretched/cut off text. I set viewport world size to exactly the size the label has.
These uploads/images dont work.
If you need to display text in a 3D world, Godot 3.5 and later offer the Label3D node (or MeshInstance + TextMesh).
@nerdnils Can you (or anyone else) still reproduce this bug in Godot 3.5.1 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.
Hi there,
i want to use a viewport to show a label as texture on a plane. But I have some issues with using viewports.
How to get my text to display properly and get rid of those issues?