- Home /
Texture changes brightness at random – why? (on iPhone)
Hello! For a couple of my textures on my game they intermittently change from normal brightness to a rather high brightness when playing the game on a device, swapping between the two levels of brightness at seemingly random intervals sometimes changing every second or two sometimes very rarely and sometimes not at all!
I have tried using diffuse as well as mobile/diffuse shaders both of which have the weird problem. The tiling is 1,1 and the offset 0,0 (very simple repeating pattern boring texture). The object also has a mesh renderer and mesh filter but that is it (no code or anything affecting it through code).
Any ideas on why this might be happening?
Thanks.
Not sure if this is what you are experiencing, but I game I finished 4 months ago with Unity3 for the web was doing something similar. It was caused by replacing old animations with new animations. The prefabs who used that mesh or animation would flicker once in a while. I fixed it by rebuilding my prefabs every time I updated the model or animations.
Please see this video for an example;
http://www.youtube.com/watch?v=5sYCcL8EiTk
Does anyone have any ideas as to why this is happening?