half4 color = tex2D(_MainTex, uv);. Use Sampler2D, Sampler3d, SamplerCube HLSL keywords to declare textures and samplers. In most cases this is what you want ...
確定! 回上一頁