diff options
| author | yum <yum.food.vr@gmail.com> | 2025-04-18 13:00:48 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-04-18 13:00:48 -0700 |
| commit | 66c73e2634fb9e652728a405a9104318d051bb00 (patch) | |
| tree | 4e3f8a6cc058fb110812c86732cf459210e52a1d /texture_utils.cginc | |
| parent | a522e7738d75e84cc1ee1491a098421622ef1918 (diff) | |
add 2 more uv channels
Diffstat (limited to 'texture_utils.cginc')
| -rw-r--r-- | texture_utils.cginc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/texture_utils.cginc b/texture_utils.cginc index 4d02fbc..5909c72 100644 --- a/texture_utils.cginc +++ b/texture_utils.cginc @@ -12,6 +12,12 @@ float2 get_uv_by_channel(v2f i, uint which_channel) { case 1: return i.uv01.zw; break; + case 2: + return i.uv23.xy; + break; + case 3: + return i.uv23.zw; + break; default: return 0; break; |
