TexCoord node how to convert to parameter?
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.
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?
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.
For example I NEED the TexCoord node to use the correct UV map for the texture, otherwise all textures would be using 0. UV Channel, and if I have something on the 1. or 2. or whatever UV Channel, that would never be used if I wanted to add a texture to it.
This way its possible to mix textures on each other like base material color and a texture paint over the model.