Hi! I'm trying to use get an oldschool look in my game by using using an Output Texture on my main camera, then using another camera to capture that Render Texture.
The Dialogue System's UI works fine when it comes to dialogue, but my player can't select interactables anymore. Not only the Selector UI doesn't show, but also the input doesn't work - which makes me think that the my player's Selector Component considers the RenderCamera (the one that is actually far away from the scene, just capturing the Render Texture) to be the main camera. Is there a way to change this?
Thanks!
Here's some screenshots:
Selector UI and camera output texture
Selector UI and camera output texture
- Attachments
-
- no-output-texture.png (925.66 KiB) Viewed 230 times
-
- output-texture.png (929.26 KiB) Viewed 230 times
Re: Selector UI and camera output texture
Hi,
Make sure your RenderCamera isn't tagged MainCamera and that you regular gameplay camera is tagged MainCamera.
Also, I don't think your RenderCamera will pick up screen space - overlay canvases. I don't know if that's a concern for you or not.
Make sure your RenderCamera isn't tagged MainCamera and that you regular gameplay camera is tagged MainCamera.
Also, I don't think your RenderCamera will pick up screen space - overlay canvases. I don't know if that's a concern for you or not.
Re: Selector UI and camera output texture
thanks for the reply. The cameras were tagged correctly, but I still couldn't make it work. I've decided to not use the output texture anymore, as it wasn't very important for my game anyway.
Re: Selector UI and camera output texture
Sounds good. If you want to revisit it in the future, let me know.