Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Offsetting the UV coordinates beyond 0, 1

1 ANTWORT 1
Antworten
Nachricht 1 von 2
Anonymous
390 Aufrufe, 1 Antwort

Offsetting the UV coordinates beyond 0, 1

Greetings to all.

Is it possible to somehow offset the UV coordinates in a shading network beyond the usual [0, 1] space? I am trying to do this to force the image node to return the texture value of a specific UDIM tile.

I know that this can probably be done with the uv_coords input on the image node, but the manual states that using this input can have a detrimental effect on rendering performance. It looks like uv_transform could probably do something like this, but it seems to insist on wrapping the UV coordinates to the [0, 1] space in some manner.

Is something like this possible without writing my own shader to do so?

Tags (1)
Beschriftungen (1)
1 ANTWORT 1
Nachricht 2 von 2
peter.horvath6V6K3
als Antwort auf: Anonymous

The image shader uses the original UVs from the mesh to locate the UDIM tile, that's why the uv_transform has no effect here.

I think your best option is to override the uv_coords, or use a custom UV set. Don't think it will cause a noticeable overhead to be honest.

Here's a simple example of a network which overrides UV coords of an image shader with a modified U coordinate:

4216-udim-uv-coords.png

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report