Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 C# + XNA 中应用蒙版?我想创建一个黑色地图和一个手电筒,它可以照亮东西。
您可以使用像素着色器,将图像和蒙版作为输入,将“蒙版图像”作为输出。