textureBicubicLevel
textureBicubicLevel
Provides high-quality bicubic texture sampling with an explicit Level of Detail (LOD), resulting in sharper and smoother images than standard filtering.
Core Advantages
By using a more advanced 4x4 texel grid for calculation, it significantly improves image sharpness on texture magnification, preserving fine details and avoiding the blurriness of standard bilinear filtering, making it ideal for close-ups.
Common Uses
High-Fidelity Product Visualization
Architectural Visualization & Digital Twins
Character Rendering for Cinematics
How to adjust
Controlled by adjusting the float value of the `lodNode` input. A value of 0.0 samples the highest-resolution mipmap for maximum sharpness; increasing the value selects lower-resolution mipmaps, making the texture blurrier.
Code Examples
1// Define the Level of Detail (LOD) to sample from
2const lodNode = float( 0.0 );
3
4// Apply the bicubic filtering at the specified LOD
5const highQualitySample = textureBicubicLevel( textureNode, lodNode );