--- title: "Texture Sampler" url: "https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/html/Texture%2BSampler.html" description: "The Texture Sampler is the primary means of loading textures into Redshift. It supports all known formats and UDIM / UVTILE textures." --- # Texture Sampler ## Overview The Texture Sampler is the primary means of loading textures into Redshift. It supports all known formats and UDIM / UVTILE textures. ## Parameters | | | --- | | ![Image: C4D_Texture_Node_General.png](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/C4D_Texture_Node_General.png) | ### General #### Image ##### Path The name and location of the texture to be sampled. > **Note:** UDIM/UVTILE textures can be sampled by inserting \ or \ tags into the file name. See the [tiling](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/html/UDIM%2Band%2BUVTILE.html.md) documentation for more details. | | | | | --- | --- | --- | | ![Image: rsDemo_Image_File_Bricks_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_File_Bricks_pic.jpg) | ![Image: rsDemo_Image_File_Brick_Normal_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_File_Brick_Normal_pic.jpg) | ![Image: rsDemo_Image_File_UV_Test_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_File_UV_Test_pic.jpg) | | File: Brick diffuse texture | Brick normal map texture | UV Coordinate Texture | | **Brick textures from [PolyHaven.com](https://polyhaven.com/a/brick_wall_006)** | | | #### Layer If the loaded file contains multiple layers, you can use this menu to select a specific layer in that file. #### Color Space In order for colors to display as expected all source assets must first be converted into the same linear rendering color space, ACEScg by default. This is accomplished by setting the color space correctly for each asset using the Color Space drop-down menu. These color space parameters serve as a built-in Input Display Transform (IDT) when viewed through the lens of an ACES workflow. You can learn more about OpenColorIO (OCIO) and ACES [on this page](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/html/Color%2BManagement%2B-%2BOCIO%2BACES.html.md). Redshift automatically converts native color swatches like diffuse colors, ramp colors, and the Redshift physical sky into the linear rendering color space. Redshift is set up by default to  *automatically* (**Color Space: Auto**) convert any textures used with materials, lights, and dome lights into the rendering color space but there is a chance that it will get this automatic conversion wrong. It's important to make sure that the color space is set correctly for each asset which is why it can be overridden manually by following these  *general* tips: - If your texture describes color data | | | | --- | --- | | ![Image: rsDemo_Image_Color_Space_Bricks_sRGB_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_Color_Space_Bricks_sRGB_pic.jpg) | ![Image: rsDemo_Image_Color_Space_Bricks_Raw_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_Color_Space_Bricks_Raw_pic.jpg) | | Colorspace: sRGB (correct) | Raw (incorrect) | - If your texture describes non-color data Below is an example using a normal map texture for a brick material. Since a normal map is not used to describe the color of a material it should be set to Raw as seen in the in the left image. It may look washed out but this is correct because in this scenario it's not about how the texture looks when previewed directly, it's only about how it is interpreted by Redshift and a normal map and other non-color shading features require exacting colors for the correct behavior. | | | | --- | --- | | ![Image: rsDemo_Image_Color_Space_Brick_Normal_Raw_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_Color_Space_Brick_Normal_Raw_pic.jpg) | ![Image: rsDemo_Image_Color_Space_Brick_Normal_sRGB_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_Color_Space_Brick_Normal_sRGB_pic.jpg) | | Colorspace: Raw (correct | sRGB (incorrect) | When routed into a Bump Map node and connected to an OpenPBR material you can see how massive the difference is with an incorrectly chosen color space. Here the raw normal map looks great, providing lots of brick detail — however if you used the incorrect sRGB color space it doesn't look right at all. | | | | --- | --- | | ![Image: rsDemo_Image_Color_Space_Brick_Normal_Raw_3D_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_Color_Space_Brick_Normal_Raw_3D_pic.jpg) | ![Image: rsDemo_Image_Color_Space_Brick_Normal_sRGB_3D_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Image_Color_Space_Brick_Normal_sRGB_3D_pic.jpg) | | Colorspace: Raw (correct | sRGB (incorrect) | #### Custom Gamma Redshift renders in a linear color space, so the texture sampler must de-gamma bitmap textures before sampling. By default Redshift attempts to automatically compute the correct gamma encoding for the bitmap file. It assumes integer textures formats (like 'png') are sRGB gamma encoded and floating-point (like 'exr' or 'hdr') or scalar textures are linear. This option lets you specify the gamma directly. #### UV ##### UV Channel This is the name of the vertex UV channel that contains UV coordinates. > **Note:** When a texture is used in combination with a projection shader (like Triplanar or UV Projection), this channel is ignored in favor of the dynamically computed UV coordinates. ##### Mirror U When enabled, the texture is mirrored across the U axis (horizontal). | | | | --- | --- | | ![Image: rsDemo_UV_Mirror_U_Disabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Mirror_U_Disabled_pic.jpg) | ![Image: rsDemo_UV_Mirror_U_Enabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Mirror_U_Enabled_pic.jpg) | | Mirror U: Disabled (default) | Enabled | ##### Mirror V When enabled, the texture is mirrored across the V axis (vertical). | | | | --- | --- | | ![Image: rsDemo_UV_Mirror_V_Disabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Mirror_V_Disabled_pic.jpg) | ![Image: rsDemo_UV_Mirror_V_Enabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Mirror_V_Enabled_pic.jpg) | | Mirror V: Disabled (default) | Enabled | ##### Wrap U When enabled, the texture is repeated along the U axis (horizontal). > **Note:** When disabled and the texture moves out of the 0-1 range, the Default/Invalid Color is visible instead. | | | | --- | --- | | ![Image: rsDemo_UV_Wrap_U_Enabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Wrap_U_Enabled_pic.jpg) | ![Image: rsDemo_UV_Wrap_U_Disabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Wrap_U_Disabled_pic.jpg) | | Wrap U: Enabled (default)
Default / Invalid Color: Black | Disabled | ##### Wrap V When enabled, the texture is repeated along the V axis (vertical). > **Note:** When disabled and the texture moves out of the 0-1 range, the Default/Invalid Color is visible instead. | | | | --- | --- | | ![Image: rsDemo_UV_Wrap_V_Enabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Wrap_V_Enabled_pic.jpg) | ![Image: rsDemo_UV_Wrap_V_Disabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Wrap_V_Disabled_pic.jpg) | | Wrap V: Enabled (default)
Default / Invalid Color: Black | Disabled | Below is an example with a 2 x 2 tiling texture that rotates. On the left, Wrap U and V are enabled which results in a fully tiling texture that spins around — note how tiles outside the 2x2 starting grid are visible as it rotates. However when both Wrap U and V are disabled no repeating occurs leaving only a single tile visible. | | | | --- | --- | | [Video: rsDemo_UV_Wrap_Both_Enabled_2-2_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Wrap_Both_Enabled_2-2_anim.mp4) | [Video: rsDemo_UV_Wrap_Both_Disabled_2-2_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Wrap_Both_Disabled_2-2_anim.mp4) | | Wrap U & V: Enabled (default)
Default / Invalid Color: Black | Disabled | ##### Remap ##### Scale This is a multiplier that scales the UV coordinate, this can be thought of as a tiles control within UV space. For example, a value of 4 results in 4 visible. > **Important:** Wrap U and V must be enabled for the tiling to be visible. | | | | | --- | --- | --- | | [Video: rsDemo_UV_Remap_Scale_0-3_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Remap_Scale_0-3_anim.mp4) | [Video: rsDemo_UV_Remap_Scale_U_1-3_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Remap_Scale_U_1-3_anim.mp4) | [Video: rsDemo_UV_Remap_Scale_V_1-3_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Remap_Scale_V_1-3_anim.mp4) | | Scale U / V: 0 - 3 | Scale U: 1 - 3 | Scale V: 1 - 3 | ##### Offset These values are added to the UV coordinate to move the frame. A noise, or other texture, can be connected here to distort the texture — the different values of the noise offset it in different amounts resulting into the distortion. | | | | --- | --- | | [Video: rsDemo_UV_Remap_Offset_Moving_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Remap_Offset_Moving_anim.mp4) | [Video: rsDemo_UV_Remap_Offset_Noise_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Remap_Offset_Noise_anim.mp4) | | Offset: Linear movement | Noise offset | ##### Rotate Rotates the texture within the UV coordinate frame. | | | | --- | --- | | [Video: rsDemo_UV_Remap_Rotate_1-1_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Remap_Rotate_1-1_anim.mp4) | [Video: rsDemo_UV_Remap_Rotate_2-2_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_UV_Remap_Rotate_2-2_anim.mp4) | | Rotate: 0 - 360
Scale: 1 x 1 | 0 - 360
2 x 2 | Connect a UV Context Projection node here to enable a local connection for simplified texture mapping. For more information, please see the [UV Context Projection page](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/html/UV%2BContext%2BProjection.html.md). ### Adjust #### Color Multiplier A color that is multiplied with the sampled texture color channel. The default is white so that no color change occurs. | | | | --- | --- | | [Video: rsDemo_Adjust_Color_Mult_Colors_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Color_Mult_Colors_anim.mp4) | [Video: rsDemo_Adjust_Color_Mult_Black-White_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Color_Mult_Black-White_anim.mp4) | | Color Multiplier: Changing colors | Black to White | #### Color Offset A color that is added to the sampled texture color channel. The default is black so that no color change occurs. | | | | --- | --- | | [Video: rsDemo_Adjust_Color_Offset_Colors_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Color_Offset_Colors_anim.mp4) | [Video: rsDemo_Adjust_Color_Offset_Black-White_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Color_Offset_Black-White_anim.mp4) | | Color Offset: Changing colors | Black to White | #### Alpha Multiplier A value that is multiplied with the sampled texture alpha channel. The default is 1 so no alpha change occurs. In the example below, note how the alpha channel (previewed in the small plane on the bottom) changes which affects the transparency of the opacity of the texture on the large plane. | | | --- | | [Video: rsDemo_Adjust_Alpha_Mult_0-1_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Alpha_Mult_0-1_anim.mp4) | | Alpha Multiplier: 0 - 1 | | Plant textures from [PolyHaven.com](https://polyhaven.com/a/periwinkle_plant) | #### Alpha Offset A value that is added to the sampled texture alpha channel. The default is 0 so no alpha change occurs. In the example below, note how the alpha channel (previewed in the small plane on the bottom) changes which affects the transparency of the opacity of the texture on the large plane. | | | --- | | [Video: rsDemo_Adjust_Alpha_Offset_0-1_anim.mp4](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Alpha_Offset_0-1_anim.mp4) | | Alpha Offset: 0 - 1 | #### Alpha Is Luminance When enabled, the alpha is based on the sampled texture's color luminance — brighter colors are more opaque while darker colors are more transparent. When disabled, the alpha comes from the sampled texture's alpha channel, if the texture has no alpha channel then the alpha will be 1.0. | | | | --- | --- | | ![Image: rsDemo_Adjust_Alpha_Lum_Disabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Alpha_Lum_Disabled_pic.jpg) | ![Image: rsDemo_Adjust_Alpha_Lum_Enabled_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Alpha_Lum_Enabled_pic.jpg) | | Alpha is Luminance: Disabled (default) | Enabled | #### Default / Invalid Color This is the color that becomes visible if the UV coordinate is outside of the 0-1 range or if the texture bit-map file does not exist. This can occur easily when Wrap U and V are disabled. | | | | | --- | --- | --- | | ![Image: rsDemo_Adjust_Default_Color_Red_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Default_Color_Red_pic.jpg) | ![Image: rsDemo_Adjust_Default_Color_Red_NoWrap_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Default_Color_Red_NoWrap_pic.jpg) | ![Image: rsDemo_Adjust_Default_Color_Transparent_NoWrap_pic.jpg](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/Resources/Images/InSnippets_Redshift/Shaders/Tex_TexSampler/rsDemo_Adjust_Default_Color_Transparent_NoWrap_pic.jpg) | | Default Color: Red
Wrap U/V: Enabled | Red
Disabled | Transparent
Disabled | ### Advanced These options allow advanced control of texture filtering and should be used with caution as they can affect texture sampling quality and performance. Please see [this](https://help.maxon.net/c4d/en-us/Content/_REDSHIFT_/html/Texture%2BOptions.html.md) topic for more information about these options: #### Filter Enable Selects the filtering enable mode of the texture sampler; - None - no MIP-mapping, point-sampled for 'minification' and 'magnification' - Magnification - no MIP-mapping, point-sampled for 'minification' - Magnification/Minification - recommended default. MIP-mapped, with full filtering #### Bicubic Filtering Enables bicubic filtering on textures that are magnified. This produces much softer looking textures than regular bilinear filtering, but at the expense of slower rendering. #### Prefer Sharp Filtering Biases primary rays texture filtering to produce sharper looking textures. #### Mip Bias Biases texture mip-maps to yield sharper looking textures when the bias is less than 0 or softer looking looking textures when greater than 0. #### Override UVs for Tone-Mapping When enabled, you can use an external texture (instead of a RS Ramp) for tone mapping with the Toon material. It works just like the RS Ramp in that colors on the left side of the texture map to the darkest parts while the brightest parts map to the right side of the texture. When disabled, the texture is mapped to the objects as usual.