IN THIS ARTICLE
Updating Graphics Settings for Android and iOS
Updating Graphics Settings for Android and iOS
Lumberyard supports low, medium, high, and very high graphics performance for mobile devices. You can change the graphics settings in Lumberyard Editor to simulate the graphics on Android and iOS devices. This feature helps you visually check your mobile games in Lumberyard Editor during the development process.
Updating Graphics Performance in Lumberyard Editor
Use the Graphics Performance menu in Lumberyard Editor to choose a graphics setting for Android or iOS.
To update graphic settings in Lumberyard Editor
In Lumberyard Editor, choose Edit, Editor Settings, Graphics Performance.
Choose Android or iOS and then choose a setting. For more information, see Editor Settings.
When you choose a graphics performance setting, the r_GraphicsQuality
console variable automatically updates with a corresponding value:
- Very High:
4
- High:
3
- Medium:
2
- Low:
1
You can change the default value for the r_GraphicsQuality
console variable in each OS configuration file. You can find the files in the lumberyard_version\dev\Cache\game_project\pc
directory.
Example iOS Configuration File
The following is an example of the system_ios_ios.cfg
file.
If you set r_GraphicsQuality
to 0, the graphics performance setting is automatically detected based on the mobile device model or total RAM. You can review the mapping for mobile device models and graphics performance settings in the android_models.xml
and ios_models.xml
files, located in the lumberyard_version\dev\Cache\game_project\pc\game_project\config
directory.
Example
The following is an example of the ios_models.xml
file.
Modifying Graphics Configuration Files
Use the Graphics Settings window in Lumberyard Editor to modify the graphics settings for each OS configuration file. You can also modify the configuration files for the following graphics settings: low, medium, high, and very high.
To modify a graphics configuration file
In Lumberyard Editor, choose Edit, Editor Settings, Graphics Settings.
In the Graphics Settings window, for Platform, choose Android or iOS for the configuration file that you want to modify.
Modify the graphics settings for each parameter as needed.
Click Save. Note
The configuration file saves to thelumberyard_version\dev\game_project\Config
directory. Asset Processor prioritizes the settings in this configuration file above the engine’s default configuration file, located in thelumberyard_version\dev\Engine\Config
directory.