x


Fade in from black

How can I make my scene "fade in" from black?

more ▼

asked Jun 19 '10 at 01:43 AM

UltimateWalrus gravatar image

UltimateWalrus
124 3 5 11

(comments are locked)
10|3000 characters needed characters left

2 answers: sort oldest

http://www.unifycommunity.com/wiki/index.php?title=FadeInOut

Googling "Unity Fade In/Out" would get you a lot of resources, and this method I linked to is typically the most common (stretching a 1px black texture across the screen and changing its alpha value).

Edit: I would actually use this C# script on that page, as it seems like the best one:

http://www.unifycommunity.com/wiki/index.php?title=FadeInOut#Another_Fade_Script_in_C.23

more ▼

answered Jun 19 '10 at 01:48 AM

qJake gravatar image

qJake
11.6k 43 78 161

Thanks!! That's exactly what I needed.

Jun 19 '10 at 06:53 AM UltimateWalrus
(comments are locked)
10|3000 characters needed characters left

http://www.unifycommunity.com/wiki/index.php?title=Fade

General purpose fading routines; I use that in most of my projects.

more ▼

answered Jun 19 '10 at 02:20 AM

Eric5h5 gravatar image

Eric5h5
80.3k 42 132 521

Psh, of course, you're the one that wrote it! Haha. :)

Jun 19 '10 at 06:58 AM qJake

Since I was using it all the time I figured I'd put it on the wiki....

Jun 19 '10 at 03:51 PM Eric5h5

Eric, you are my God ;-) Helped me with soooo many issues on my racer!!!

Feb 08 '12 at 02:55 AM POLYGAMe
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3682
x189

asked: Jun 19 '10 at 01:43 AM

Seen: 10592 times

Last Updated: Feb 08 '12 at 02:55 AM