在hierarchy窗口,右击create new sprite,将png图片导入到assets,点击该图片,将Texture Type设为Sprite(2D and UI)
struct appdata_img: vertex shader input with position and one texture coordinate.
在hierarchy窗口,右击create new sprite,将png图片导入到assets,点击该图片,将Texture Type设为Sprite(2D and UI)
struct appdata_img: vertex shader input with position and one texture coordinate.