Enable uv in shader?

Hey, is there an option to enable UV params in shader without enablind texture for material?

Currentry I use

mat.albedoTexture = new Texture('none', scene);

and UV params appears in shaders (CustomMaterial or PBRCustomMaterial). But I think it is overhead, May be there is a more suitable option for it?

You can do something like this:



perfect) thank you