How can I blend two different size texture to one?

Hi, guys, I’m a newbie in material.

I have a 128x128 texture and a 1024x1024 texture.

I want to use a material to blend it to a new 1024x1024, to make a starfeild.

How can I do it?

thanks

Texture2D_32_nebula.png

btw In Unity3D, we can use a simple shader to do this



Shader "MyShader/blend321" {
Properties {
    _FrontSky ("Front Sky(+Z)", 2D) = "black" {}	this is a 1024*1024 black tex
    
    _FrontNebula ("Front nebula(+Z)", 2D) = "black" {}	// this is my 128*128 tex
    
    _FrontStarfield ("Front Starfield(+Z)", 2D) = "black" {}	// this is my 1024*1024 tex

}

SubShader {
    Tags { "Queue" = "Background" }
    Cull Off
    Fog { Mode Off }
    Lighting Off        
    Color [_Tint]
    
    //	this pass can blend 3 texture to one
    Pass {
        SetTexture [_FrontSky] {combine texture,texture}
        SetTexture [_FrontNebula] {combine texture + previous }
       	SetTexture [_FrontStarfield] {combine texture + previous}
    }
}

Fallback "RenderFX/Skybox", 1
}


Have you tried using standard math nodes to combine them (Such as Lerp) ?

The size of a texture does not matter to a material, just combine them any way you want in the material editor.