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.
您可以在 HLSL (DX11) 片段着色器中获取当前片段的行和列吗?
您可以将纹理的大小作为统一传递,并使用纹理坐标来找出片段在像素空间中的位置。
我可以问为什么吗?