Search the Community
Showing results for tags 'technical'.
Found 1 result
Hello, fellow duplicants ! Today, i would like to tell everyone about a glitch that has annoyed countless users running on non-windows operating systems. You most likely saw it in screenshots, I'm of course talking about the inverted lighting issue ! Do you notice anything wrong ? Look closer. That's right: The Biome lighting is all wrong ! Oh noes ! Pink space and grey jungle, interesting ! For long, i thought that this glitch was completely random, but it turns out that it's not. Look closely at the three images, the colors and all lighting for that matter are all flipped along the Y axis ! The X axis is fine though. Now that we know what the glitch is, why isn't this posted on the bug tracker ? Well, quite simply because i think that i found out what it is and how to fix it. This is more so of a discussion rather than a bug report. Here's something interesting : https://www.khronos.org/opengl/wiki/Common_Mistakes#y-axis The Y axis under OpenGL (and Vulkan too) is "flipped" compared to other rendering libraries (Mainly DirectX). Now, i don't know much about the internals of ONI, so this might not be the issue, but it's a more than possible theory. I would love for technical players to correct me on that if I'm wrong. But here's the fun part : If I'm correct about the issue coming from the rendering engine's coordinate system, we might have a way to fix it relatively easily. After looking at modding docs, it seems that it's possible to de-compile the game for personal use. I'll try to look into that myself and maybe make a mod or something that simply : Check for the operating system the user is running on at startup If it returns any Windows version or anything running DirectX : Do nothing If it returns any Linux/Darwin OS or either Vulkan or OpenGL : invert all the lighting calculations on the Y axis This doesn't sound that hard, but hey maybe there's a reason why it's not already implemented officially. So yup ! That's it for my research for now. I'll probably come back either when I'm laughed at for being terribly wrong or when I'll be done learning Harmony to make that mod happen. On that note, stay safe and have a pleasant day everyone !