The Unity shader in this example draws a texture on the mesh. ... In the fragment shader, use the SAMPLE_TEXTURE2D macro to sample the texture:
確定! 回上一頁