<p>Undersampling or oversampling occur when an image is projected to a different resolution.</p>
<p><strong>Untersampling:</strong>
The texture (4x4 pixels) is projected on e.g. 3x3 pixels, see figure 1.
As you can see, the first white stripe is no longer visible because it is between two pixels.</p>
<p><strong>Oversampling:</strong>
The texture (4x4 pixels) is projected to e.g. 9x9 pixels, see Figure 1.
The image is pixelated because too many pixels fall on each stripe.
When using a LINEAR interpolation sampler, the pixels which are between two stripes will become grey (interpolated color value).</p>
<p><a href="https://i.sstatic.net/Q8Ft2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Q8Ft2.png" alt="enter image description here" /></a></p>
<p><strong>Figure1:</strong> Example of under and oversampling.</p>

CC BY-SA 4.0
2023-06-28T11:22:41.010Z
thanks a lot for providing me with an answer. Helped a lot and clarified a lot of further concepts.
Dexter0411
CC BY-SA 4.0
2023-06-28T10:46:46.870Z
2023-06-28T10:46:46.870Z
Thomas
<p>I am new to computer graphics and have taken up a course in my university on computer graphics. Need help regarding a question as I could not find any relevant resource on the internet so hoping the reddit community can help me with the solution. Thanks a lot.</p>
<p><a href="https://i.sstatic.net/99Ayc.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/99Ayc.jpg" alt="enter image description here" /></a></p>

<texture><sampling><mapping>
Question regarding texture mapping sampling
Dexter0411
# Question regarding texture mapping sampling

(Asked by: username_0 on 2023-06-28)

I am new to computer graphics and have taken up a course in my university on computer graphics. Need help regarding a question as I could not find any relevant resource on the internet so hoping the reddit community can help me with the solution. Thanks a lot.

[![enter image description here](https://i.sstatic.net/99Ayc.jpg)](https://i.sstatic.net/99Ayc.jpg)

**Tags:** texture, sampling, mapping


---

## 1 answers

### Answer by username_1 on 2023-06-28. Score: 0 | Accepted answer

Undersampling or oversampling occur when an image is projected to a different resolution.

**Untersampling:**
The texture (4x4 pixels) is projected on e.g. 3x3 pixels, see figure 1.
As you can see, the first white stripe is no longer visible because it is between two pixels.

**Oversampling:**
The texture (4x4 pixels) is projected to e.g. 9x9 pixels, see Figure 1.
The image is pixelated because too many pixels fall on each stripe.
When using a LINEAR interpolation sampler, the pixels which are between two stripes will become grey (interpolated color value).

[![enter image description here](https://i.sstatic.net/Q8Ft2.png)](https://i.sstatic.net/Q8Ft2.png)

**Figure1:** Example of under and oversampling.

> **Comments:**
> **username_0**: thanks a lot for providing me with an answer. Helped a lot and clarified a lot of further concepts.  

---

