- Home /
background camera image change
I've created background image using this technique: http://answers.unity3d.com/questions/9729/how-can-i-display-a-flat-background-2d-image-not-a.html and it's working fine. Obviously it's possible to replace GUITexture with another one but this will be very sharp change. Question is whether it's possible to change background image with effect such as fade?
Answer by syclamoth · Sep 21, 2011 at 09:45 AM
If you want to smoothly fade to another image, create another image in front of your old one, and then smoothly fade its alpha value in its colour up from zero. Then when it reaches one, delete the old image. Done!
Yes, this is regular fading. But how do I change alpha value of GUITexture?
With GUITexture.color- you assign a Color with the fourth value something less than 1.
Your answer
Follow this Question
Related Questions
How to blur my background 2 Answers
How do you make falling text? 4 Answers
Changing render time (framerate) of a shader 0 Answers
Unity 5.6 splash screen tool: Blurry background image 0 Answers