You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/tutorials/building_2d_games/24_shaders/index.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -417,7 +417,7 @@ This chapter explored the fundamentals of creating and adding a shader to MonoGa
417
417
418
418
-ShadersarespecializedprogramsthatrundirectlyontheGPU, allowingfor efficient visual effects that would be too performance-intensive to calculate on the CPU.
419
419
- Effect parameters allow runtime control of shader behavior.
420
-
- In Monogame, shaders are written in High-Level Shader Language (HLSL) andcanbeloadedthroughthecontentpipelinelikeothergameassets.
420
+
- In MonoGame, shaders are written in High-Level Shader Language (HLSL) andcanbeloadedthroughthecontentpipelinelikeothergameassets.
421
421
-Pixelshadersdeterminethecolorofeachrenderedpixel, makingthemidealfor effects like our grayscale shader.
422
422
- The timing of the shader application depends on the [**SpriteSortMode**](xref:Microsoft.Xna.Framework.Graphics.SpriteSortMode) usedwith [**SpriteBatch**](xref:Microsoft.Xna.Framework.Graphics.SpriteBatch), withmosteffectsbeingappliedduringthe [**SpriteBatch.End**](xref:Microsoft.Xna.Framework.Graphics.SpriteBatch.End) call.
0 commit comments