Quantcast
Channel: Answers for "how to fade in/out a scene?"
Browsing all 14 articles
Browse latest View live

Answer by duck

You'd do the fading to white/black placing a single-colored texture across your screen, and changing the alpha value of it over time so that it fades in, or fades out.There are a number of different...

View Article



Answer by duck

To fade between two different sets of skybox textures, there's a shader on the Wiki designed to do exactly this, here:http://www.unifycommunity.com/wiki/index.php?title=SkyboxBlended

View Article

Answer by Azound

to crossfade between two skyboxes, you could create two skyboxes, one slightly bigger than the other so that it encompasses the other. Then you could fade the inner one's alpha to make it fade in or out.

View Article

Answer by Miriam

I've just been working on the same thing.I've adapted the wiki shader mentioned above so that it can be used on older machines. It's very similar to the original - I just manged to get rid of one 'set...

View Article

Answer by walta

This way works for me:alphaFadeValue -= Mathf.Clamp01(Time.deltaTime / 5); GUI.color = new Color(alphaFadeValue, alphaFadeValue, alphaFadeValue, alphaFadeValue); GUI.DrawTexture( new Rect(0, 0,...

View Article


Answer by ellens

You can crossfade between 2 materials with the Lerp method: http://docs.unity3d.com/Documentation/ScriptReference/Material.Lerp.html

View Article

Answer by Patico

Use ready to use solution - Screen Fader - http://www.assetstore.unity3d.com/#/content/9526

View Article

Answer by duck

You'd do the fading to white/black placing a single-colored texture across your screen, and changing the alpha value of it over time so that it fades in, or fades out.There are a number of different...

View Article


Answer by duck

To fade between two different sets of skybox textures, there's a shader on the Wiki designed to do exactly this, here: [http://wiki.unity3d.com/index.php/SkyboxBlended][1] [1]:...

View Article


Answer by Azound

to crossfade between two skyboxes, you could create two skyboxes, one slightly bigger than the other so that it encompasses the other. Then you could fade the inner one's alpha to make it fade in or out.

View Article

Answer by Miriam

I've just been working on the same thing.I've adapted the wiki shader mentioned above so that it can be used on older machines. It's very similar to the original - I just manged to get rid of one 'set...

View Article

Answer by walta

This way works for me:alphaFadeValue -= Mathf.Clamp01(Time.deltaTime / 5); GUI.color = new Color(alphaFadeValue, alphaFadeValue, alphaFadeValue, alphaFadeValue); GUI.DrawTexture( new Rect(0, 0,...

View Article

Answer by ellens

You can crossfade between 2 materials with the Lerp method: http://docs.unity3d.com/Documentation/ScriptReference/Material.Lerp.html

View Article


Answer by Patico

Use ready to use solution - Screen Fader - http://www.assetstore.unity3d.com/#/content/9526

View Article
Browsing all 14 articles
Browse latest View live




Latest Images