-
-
Notifications
You must be signed in to change notification settings - Fork 21k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't load PNG file into ImageTexture #17650
Comments
Step 3) can be done differently, which would actually solve your problem: Even if it's not usual steps, ImageTexture should accept image formats though. |
If I do that the close button icon doesn't change. So I looked at the default theme for Godot 3 and it used ImageTexture so I put two and two together and figured I need ImageTexture too. |
That's even weirder... why would a StreamTexture make any difference? There are at least 3 issues here:
|
Are you able to reproduce the issue of not being able to change the WindowDialog close button with an image? |
I can't launch Godot right now but I can try to repro later On a side note, keep in mind everytime you do "New TextureXXX" or "New Image" in the inspector, you have the risk that the data gets litterally saved into the scene, which means all pixels of the texture being written as numbers, which will make your scene go super fat. |
Are there any updates on this? |
#5738 |
This is now fixed via 317dee9 , although its kinda useless to do this anyway |
Godot version: 3.0.2
Issue description: The ImageTexture only accepts resource files instead of being able to take in regular images.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: