Colatran
(Colatran)
June 28, 2017, 10:00pm
1
Hi everyone.
I have had this problem for a long time related to the blurry look in mobile:
Here some comparations:
I made a widget covering the screen with an image with only 9 pixels:
This image:
This Widget:
As you can see, in mobile the pixels look blurry.
I have already changed the engine scalabiliti settings but no change.
Can somebody help?
Set r.MobileContentScaleFactor=0 to use native resolution. The default is to use 1280x720 (corrected for actual resolution aspect ratio).
Colatran
(Colatran)
June 29, 2017, 8:28am
3
where should I change it, in game console or in some file?
Colatran
(Colatran)
June 29, 2017, 10:27pm
6
So this is my DefaultDeviceProfiles.ini file:
[Android DeviceProfile]
+CVars=r.Streaming.PoolSize=160
+CVars=r.Streaming.useFixedPoolSize=1
+CVars=p.EnableAsyncScene=0
+CVars=r.Scalability.MaxTextureQualityForLowVirtualMemory=3
+CVars=r.MaxAnisotropy=1
+CVars=r.MobileContentScaleFactor=0
But no change :(, am I missing something?
If the CVar is set by a higher rule then the one in Android DeviceProfile is overridden. Put in rules for Android_Low, Android_Mid, and Android_High.
You can look at the logcat tagged with UE4 for the profile picked (LogAndroid: Selected Device Profile:), and look for the resolution used (LogRenderer: Reallocating scene render targets to support xxxx).
Colatran
(Colatran)
July 1, 2017, 10:13am
8
Well added: Android_Low, Android_Mid, and Android_High, also added a Android_Default and its fixed!!
Thanks!
If the CVar is set by a higher rule then the one in Android DeviceProfile is overridden. Put in rules for Android_Low, Android_Mid, and Android_High.
You can look at the logcat tagged with UE4 for the profile picked (LogAndroid: Selected Device Profile:), and look for the resolution used (LogRenderer: Reallocating scene render targets to support xxxx).
How can I lower the resolution?
“r.SetRes”, and “sg.ResolutionQuality” doesn’t seem to affect anything
Can “r.MobileContentScaleFactor” be set to negative values?
Cheers,
gameDNA
(gameDNA)
July 1, 2017, 9:41pm
10
How can I lower the resolution?
“r.SetRes”, and “sg.ResolutionQuality” doesn’t seem to affect anything
Can “r.MobileContentScaleFactor” be set to negative values?
Cheers,
r.MobileContentScaleFactor=0 is the native resolution of the device. 1.0 is a default resolution (1280x720) so if you want even lower you can set 0.8 or 0.5 or if you want higher you can set for example 1.5 or 2.
Ahhh… makes sense, I remember trying these values a while ago, but it was cutting off half my screen, have you encountered this before?