Information and Downloads
| Source | KhronosGroup/glTF-Sample-Assets |
|---|---|
| File size | 13.15 kB |
Source glTF Source asset from
KhronosGroup/glTF-Sample-Assets
three r185 Converted with upstream three.js 0.185.0
Needle Converted with Needle Engine 5.1.2 USDZExporter
Blender 5.1 Converted with Blender 5.1.2
Adobe glTF Converted with OpenUSD 26.05 and Adobe glTF file-format plugin 2026.03
GUC Converted with GUC 0.5
Omniverse Converted with Omniverse Kit 105.0
Description
Texture Linear Interpolation Test
Tags
Summary
Tests that linear texture interpolation is performed on linear values, i.e. after sRGB decoding.
Operations
- Display in SampleViewer
- Download GLB
- Model Directory
Screenshot

Description
This asset tests that linear texture interpolation is performed on linear values, i.e. after sRGB decoding. The test passes when two spheres are rendered with nearly the same color.
The first (leftmost) sphere uses only JSON-stored emissive factor of
0.5green.The second sphere samples its color as an interpolated value from a
2x1texture. When interpolation happens after sRGB decoding, the final emissive value should also be about0.5green. An example of incorrect interpolation is shown below.
⚠️ WARNING: For technical and historical reasons, some engines — particularly those using WebGL 1.0 — apply sRGB decoding in the fragment shader. Such engines will "fail" this test, which is designed specifically to highlight a difference that is generally quite subtle. Modern APIs like WebGL 2.0 and WebGPU provide effective ways to avoid this issue.
Legal
© 2017, Public. CC0 1.0 Universal
- lexaknyazev for Everything