How to overlay background image on the Skybox?

Hi there, I have a struggle that how can I add something on the Skybox background.

And if it possible, I wanna get a solution with code, but it can’t then Inspector setting is also fine :slight_smile:

This is my code down below.

internal class TerrainGenerator : MonoBehaviour
    public static TerrainGenerator Instance;
    public static Background background;
    public Material islandMaterial;
    private Camera mainCamera; 

    public void Awake()
        Instance = this;

    // Start is called before the first frame update
    void Start()

        mainCamera = Camera.main;   

        if (islandMaterial != null)
            SpriteRenderer spriteRenderer = new SpriteRenderer();
            spriteRenderer.material = islandMaterial;

I attached material file in the Island Material,
and I add that in the sprite renderer.
but the only one I can saw is just Skybox.

Or, I have 1 materials and 1 Sprite files. Is there any solution that I don’t know?

Thanks for reading my problem! :slight_smile:

Privacy & Terms