Alexander.Komarov Posted October 6, 2025 Posted October 6, 2025 (edited) Hello there. Things went so that we're using Unigine 2.7.3, let's just accept that. We could have update to 2.10 some time in future, but for now this is our platform. The question is: what could cause the orthographic camera to break the skybox so it looks like a small disk at the center of the camera view? At a certain angle it looks like a squashed sphere. I suspect I somehow messed up the camera matrix, but for the rest of the object it seems totally fine. Same angle with Perspective projection: Edited October 6, 2025 by Alexander.Komarov 1
Alexander.Komarov Posted October 7, 2025 Author Posted October 7, 2025 Here is the shader code I found. From what I've understood from legacy code, orthographic projection camera wasn't implemented before (although It should have been), that's why there was only billboard matrix implementation for the the skybox transform. How could I modify shader to make it work with orthographic projection? I opened the node used to spawn the skybox and it seems like its just a generic Unigine skybox with child sun attached and a custom shader.
Recommended Posts