RenderPipeline terrain-effect.yaml use texture instead of color

Hello i have question, in render pipeline in file /effect/terrain-effect.yaml
it’s possible tu use texture (png/jpg file) instead of color

for example with grss i have this :
grass_mat.basecolor = vec3(0.1, 0.2, 0.1);

i want something :
grass_mat.basetexture = grass.png

Since this is just GLSL code, I think this means you will have to put a texture call in there in order to fetch the pixel from the texture, for example:

grass_mat.basecolor = texture(mytexture, texcoord * 2);

…where mytexture is declared as an input like uniform sampler2D mytexture and passed in via setShaderInput.

ok thanks for your help