Hello! This is my first question here on Unity Answers. I hope you can bear with me.
I’m working on flood fills on Unity, and while I’m already able to fill shapes on my Texture2D, I can only see the changes when I zoom in with my orthographic camera. When I zoom out, it goes back to looking like the original image. What is also weird is that this happens in both my editor and my game scene, as well as when I build it on Android.
I’ve also tried using images with different sizes, and it still behaves the same way.
This is what it looks like after filling a shape using SetPixels() when zoomed in. The red circle is originally white. Notice that the editor is not showing the change. The image’s size is 1920x1080.
This is how it then looks like when you zoom out a bit. The game scene now doesn’t show the change as well. I’ve also included the properties of the texture in the screenshot.
What can possibly be causing this? What can I do to prevent this? Am I missing something? Thank you for your time.