I apologize for the dumb question, but how do I do that? I checked the Settings Manager and could not find any option for that; I also checked the Manual and the forum, but I am none the wiser.
Aha! I had an old version; now I can see it. I am still struggling with it tho, as I am not entirely sure what am I doing. I tried to create a render texture and assign it as an Output texture in my NavCam (that's the one without postprocessing) as well as in the Settings Manager. But it just created a dark screenshot (or white when i choose color format: None).
EDIT: This appears on my device only and thus has nothing to do with AC; I will figure it out somehow; I'm probably gonna try to clear cache/reset, etc.
Just when one issue is solved, another one appears out of the blue. I have no idea how this happened, but when I run the game on an Android phone, the brightness is crazily overexposed (basically white screen) in values that are beyond what i set up. I can call a menu (it is not influenced by the brightness) and see that the slider is in a maximum position. When i click it, the game returns back to the maximum allowed brightness value. This, however, does not happen when I run the game in the editor, where everything is working properly; the brightness value is on its default. I even restarted the phone, but the problem was the same. Any idea what could be causing this?
Chris, i am sure i haven't touched any of my brightness option/save system settings (i think it happened after i updated the AC a week ago), but my save screenshots suddenly appear all black again. I am using a separate screenshot cam that is a child of the Main camera using Render texture to save screenshots unaffected by postprocessing. Please, what could be causing this?
I wouldn't expect the ScreenshotCam should have the custom camera movement script attached, as it'll be following its MainCamera anyway. You may need to have a script to have it copy the MainCamera's Orthographic size, though.
Does it work if you remove this, and if not - if you change its "Background Type" to a solid colour, does that colour show up in the screenshot?
It works when I remove the custom camera movement script, but the orthographic size is incorrect (there is a black bar on the screenshot). May i ask you for the script that would copy this?
using UnityEngine;
public class CopyOrthographicSize : MonoBehaviour
{
public Camera cameraToCopy;
public Camera cameraToPaseTo;
void Update ()
{
cameraToPaseTo.orthographicSize = cameraToCopy.orthographicSize;
}
}
Comments
You can assign a dedicated save-screenshot RenderTexture in the Settings Manager - map this to a Camera that renders the scene without postprocessing.
I apologize for the dumb question, but how do I do that? I checked the Settings Manager and could not find any option for that; I also checked the Manual and the forum, but I am none the wiser.
What's your AC version? It was introduced in v1.80.4.
Aha! I had an old version; now I can see it. I am still struggling with it tho, as I am not entirely sure what am I doing. I tried to create a render texture and assign it as an Output texture in my NavCam (that's the one without postprocessing) as well as in the Settings Manager. But it just created a dark screenshot (or white when i choose color format: None).
GameCamera Camera components are disabled at runtime - they're used for reference only.
Rely on a new, separate Camera instead - you can attach it as a child of the MainCamera to have it move with it.
Thank you, it works nicely now!
EDIT: This appears on my device only and thus has nothing to do with AC; I will figure it out somehow; I'm probably gonna try to clear cache/reset, etc.
Just when one issue is solved, another one appears out of the blue. I have no idea how this happened, but when I run the game on an Android phone, the brightness is crazily overexposed (basically white screen) in values that are beyond what i set up. I can call a menu (it is not influenced by the brightness) and see that the slider is in a maximum position. When i click it, the game returns back to the maximum allowed brightness value. This, however, does not happen when I run the game in the editor, where everything is working properly; the brightness value is on its default. I even restarted the phone, but the problem was the same. Any idea what could be causing this?
Chris, i am sure i haven't touched any of my brightness option/save system settings (i think it happened after i updated the AC a week ago), but my save screenshots suddenly appear all black again. I am using a separate screenshot cam that is a child of the Main camera using Render texture to save screenshots unaffected by postprocessing. Please, what could be causing this?
This is the Screenshot cam setting:


This is the NavCam setting:


And this is the SettingsManager Saving setting:

I wouldn't expect the ScreenshotCam should have the custom camera movement script attached, as it'll be following its MainCamera anyway. You may need to have a script to have it copy the MainCamera's Orthographic size, though.
Does it work if you remove this, and if not - if you change its "Background Type" to a solid colour, does that colour show up in the screenshot?
It works when I remove the custom camera movement script, but the orthographic size is incorrect (there is a black bar on the screenshot). May i ask you for the script that would copy this?
Problem solved, thank you Chris!