TexCoord node how to convert to parameter?

TexCoord node how to convert to parameter?

b407d88bf6bc91b3075fc1a3dfe3fbdc5a230b06.jpeg

Im not that good with shaders so forgive me if the answer is wrong, but AFAIK Texture Coordinates come directly from the model the Material is applied to. Why would you change the Texture Coordinates in the first place? You can however, simulate it with a Vec2 Parameter. TexCoords is in fact a two dimensional vector with Coordinates U and V.

Here’s 3 options. They all cost the same.

1b2e9ecd0f403f0e10ee8a6826c340ec28dc9950.jpeg

The top and middle ones allow you to control U and V tiling separately, and the bottom assumes you would use the same tiling for both directions. Like TriNityGER said, you just need the two directions.

Thanks for the help!!!

good,I can use the parameters to control the U and V, and how about the Coordinate index number?

coordinate index.jpg

Reviving an old thread, but if anyone is looking for the answer, there is a workaround here.

Still, it would be nice to be able to convert the coordinate index to parameter

Yo can try this to control the UV coord index.

That’s a lot of instructions just to change a UV coordinate index. You’d be much better off using a static switch parameter.

THANK YOU.