Skip to content

Commit f5d039f

Browse files
committed
chapter 5 edits
1 parent f8530ae commit f5d039f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/tutorials/advanced/2d_shaders/05_transition_effect/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Our game is functional, but the jump from the title screen to the game is very s
1515
1616
> All of this prior work is going to finally going to pay off! In this chapter, you will be able to leverage the hot-reload and debug UI to experiment with shader code in realtime without ever needing to restart your game. You can start the game, make changes to the shader, tweak shader parameters, all without needing to recompile your project.
1717
18-
In this chapter, we will dive into our first major pixel shader effect: a classic [Screen Wipe](https://www.youtube.com/watch?v=8NAhAEQUk8M) we will learn how to control an effect over the whole screen, how to create soft edges, and how to use textures to drive our shader logic to create all sorts of interesting patterns.
18+
In this chapter, we will dive into our first major pixel shader effect: a classic [Screen Wipe](https://www.youtube.com/watch?v=cGqAu9gj_F0) we will learn how to control an effect over the whole screen, how to create soft edges, and how to use textures to drive our shader logic to create all sorts of interesting patterns.
1919

2020
At the end of the chapter, you will have a screen transition effect like the one below.
2121

@@ -39,7 +39,7 @@ Start by creating a new `Sprite Effect` from the MonoGame Content Builder Editor
3939

4040
Save and build the content project, just to be sure and switch back to your code editor, and perform the following steps:
4141

42-
1. As the `Core` class has not implemented Materials previously, it will need the `using` statement to the library content features in order to be able to use the `WatchContent` extension we added in ]Chapter 3](../03_the_material_class/index.md), so add a new using to the top of the class:
42+
1. As the `Core` class has not implemented Materials previously, it will need the `using` statement to the library content features in order to be able to use the `WatchContent` extension we added in [Chapter 3](../03_the_material_class/index.md), so add a new using to the top of the class:
4343

4444
```csharp
4545
using MonoGameLibrary.Content;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
protected override void LoadContent()
22
{
33
base.LoadContent();
4-
SceneTransitionMaterial = Content.WatchMaterial("effects/sceneTransitionEffect.fx");
4+
SceneTransitionMaterial = Content.WatchMaterial("effects/sceneTransitionEffect");
55
}

0 commit comments

Comments
 (0)