I would like to change texture LODs settings (size) for iPhone4 and iPhone4s anyone know how can I achieve that? In UE3 there was an option to add LOD settings in ini files.
from UDK doc:
SystemSettingsMobileTextureBias
The [SystemSettingsMobileTextureBias] category is for overriding texture LOD group settings for mobile platforms. See the texture settings page for more information on texture LOD group settings.
I’ve found TextureLODSetting= but can’t find any example how to change World Lod Bias for example.
Any feedback on this? We are ready to publish our game but on iPhone 4 we are out of memory and we need to use TextureLodSettings. Will be really grateful for help!
Look for [SystemSettings] in BaseEngine.ini. In that section, you will find a set of TEXTUREGROUP declarations for various groups. If you change the LODBias in each of those, then during the cook of the project, it will cap the texture mips to the LODBias. Unfortunately, there isn’t any way to do this per device profile at this time, so you will probably need to make two separate IPAs, one for iPhone4/4s and one for the rest.
Add that [SystemSettings] section to your game’s DefaultEngine.ini or to a new IOSEngine.ini in your games Config/IOS directory so that you keep the base defaults.
We are working on this now actually. It was something that unfortunately didn’t come over from the old way to the new way. We are going to make it so that you can specify the LOD settings in the DeviceProfiles.
In the meantime, you should be able to globally set the bias for the device. You could add a new CVar (which you can set in DefaultDeviceProfiles.ini), or just do it in code, but there should be just one place you need to touch:
UTexture::UpdateCachedLODBias()
That should be enough to get you going, but if you need more assistance, let us know!
Thanks Josh it is working for us but our partners aren’t using our version of the engine. Any news if this “We are going to make it so that you can specify the LOD settings in the DeviceProfiles” will come in 4.8?