Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

XNA Shader programming, Tutorial 21 - Transition: Fade

Loading...

Sign in or sign up now!
3,921
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 27, 2009

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • Yeah I will, thank you for the comment :)

  • Might be good to mention this in the tutorial, though?

  • Its just there because you can do it with a shader as well. The reason for this tutorial is that shaders can be used in many different situations, including transitions and to learn new things.

    The shader is quite short, so the computuationally difference is very small. ( the line that does the transition is usually included in a bigger shader, so its normal to include it if the rest is shader based ).

  • So, why do this with a shader - why not render both scenes to textures, and then just draw quads, alpha/add/multiply blending them in? It'd even be computationally cheaper.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more