Hey guys,
I have the situation that some of my projects have very large file size due to 8k textures. I know we have the ability to clamp texture resolution when cooking. However I don’t know how to use those cooked textures in the uproject/editor.
Does anyone know a quick way to reduce texture size for the entire project? (preferably reducing the texture size to the size specified as ‘max ingame’) for instance using the cooked textures instead.
The only option I can see currently is to manually re-import my textures at a lower resolution.
That’s not what I’m looking for unfortunately. I’m looking for a way to reduce the ‘resource size’ in the actual project, not just reduce it once cooked.
you have to manually do it if you want to resize the actual source.
Keep in mind that UE will automatically use the Device Profile Settings you are working on. So if you are working on Linux and set the Texture Size to 512. All your Textures will automatically use 512 even in the Editor
hey, sorry it took a while to get back. Thanks, yeah it’s just a painful manual process and my main concern is cutting down file-sizes for certain assets. It’s a shame there’s not a built in system like that!
Writing over your original file is dangerous as it can cause you to loose the original.
When cutting down from 8k to 1k you would really be better off using Photoshp/GIMP/KRITA etc. and applying a custom algorhytm to the reduction process so as to better control compression artifacts.
The engine does a really decent job, but there is no comparison to what you can do by visually deciding the resample style…
I’m still really curious as to what you are cooking up with 8k textures and over the max limit of grass XD
The same issue exists in Unity - the only solution is to setup batch mode using something like Gimp to mass-resize all of the images.
However as others say, be careful as you can easily create artifacts or errors, and you need to ensure you still have access to the originals somehow.
In an optimal world you would have a completely custom art pipeline where all textures are designed to match the final image quality/optimisation requirement, but when using asset store assets this isn’t the case so build sizes can really blow up.
This max texture size in the pic above , where exactly is this setting , i cannot seem to find it in project settings, preferences, details or world settings?
Bump
Just wanted to say, this still doesn’t have a solution unfortunately.
To clarify Maximum File Size setting is not what I’m looking for. This will only change the texture size displayed at run-time and compiled builds.
I’m looking for a way to bulk edit actual Uasset texture size to reduce the size of an unreal project on the disk. Manually reimporting smaller versions of textures is very slow.
the plugin mention in that topic might not work properly if texture hasn’t loaded yet.
you will get a very blurry one somehow. I have mentioned in the plugin comment before. Don’t know if the bug has been fixed or not.
Cheers!
Reducing file size on disk is a vital process for backup for example, but one may want to keep the full texture size for later re-injection before final cooking.
This tutorial help you export the texture to png, so you can batch reduce them with an external program and reimport the reduced texture.
If you save the full size texture before resize, you can keep a backup of both texture version and re-import the one you want.
This is specially useful for marketplace addon that often make several gigabits.