Once you've mastered the basics of HLSL shaders, you can create pixel shaders that implement the algorithms for drawing common types of gradients, then apply a different shader in SpriteBatch.
一旦你掌握了基本的HLSL着色器,您可以创建实现算法的像素着色器常见的渐变类型,然后运用不同的材质spritebatch。
Once you've mastered the basics of HLSL shaders, you can create pixel shaders that implement the algorithms for drawing common types of gradients, then apply a different shader in SpriteBatch.
一旦你掌握了基本的HLSL着色器,您可以创建实现算法的像素着色器常见的渐变类型,然后运用不同的材质spritebatch。
应用推荐