Create sprite renderer using custom material

I have done following thing.

  1. Create Material
  2. Attach sprite with texture type as Texture
  3. Add sprite renderer component to game object
  4. Assign material to it that I create in last steps

There is no sprite available for selection. Following image illustrate my problem correctly.


So my question in how to create sprite renderer with custom material?

You don’t assign _MainTex (called “Base(RBG)” on that shader) manually for a sprite. The Sprite Renderer overrides it. Because you haven’t assigned a sprite to the renderer, you see nothing.

I have changed my shader setting of material to tk2d/BlendVertexColor and I get a sprite available for selection.