-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
S3TC image compression fails on exported project but works in editor #25640
Comments
S3TC compression is done via the Previously the whole squish module was editor-only, but @eska014 exposed the decompress method in #24017. I guess the decompression stuff might also be exposed, but needs confirmation from @reduz that this would not cause issues. |
We already build Squish in templates build for S3TC decompression, so we can as well expose the compression feature. Fixes godotengine#25640.
This error is happening again on Godot 4.1 Mono. I'm trying to use the Image.Compress() method in C#, it gives this error: I've built this for a Linux server, I run the server with the 4.1.1.stable.mono.official [bd6af8e] |
See this issue: #79932 Compressing textures to VRAM formats is not available in exported projects in 4.x for binary size reasons: godot/modules/etcpak/config.py Lines 1 to 2 in 221884e
We could expose a SCons option to enable VRAM compressors in non-editor builds (like #73003), but it'll require you to build custom export templates to use that feature. |
Godot version: 3.0.6
OS: Windows 10 Pro
Issue description:
I'm trying to compress a viewport render image using S3TC, it works in the editor but not on the exported project, giving me this error.
This is my code:
The text was updated successfully, but these errors were encountered: