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:

https://playground.babylonjs.com/#7ZZ935#1

2 Likes

perfect) thank you