aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 12cd19f6f8a4df689649234295082d658220188b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Filtro CRT

## Ideia

Inspirado no vídeo [Static, de Flavor Foley ft. Hatsune Miku](https://www.youtube.com/watch?v=KlTNKOnfXFk), a ideia é uma ferramenta que recebe uma imagem arbitrária e aplica um "filtro CRT" nela, saturando as cores e gerando aquele efeito de "sombra" que aparece no vídeo.

## Como fazer

- Programa deve receber uma imagem e aplicar um shader
    - Olhar shaders do Cathode Retro
- Imagem de saída sai com a saturação do filtro CRT

## Referências

- [Cathode Retro](https://www.cathoderetro.com/docs/)

## Aprendizados

> It turns out, color can be encoded as a wave with a specific frequency, by encoding the **hue of the color as the wave's phase** (its side-to-side positioning relative to a reference wave) and the **saturation of the color as the wave's amplitude**. Coupled with the existing broadcast's brightness information (now referred to as the luma of the signal), this gives the TV everything it needs to display a full color picture.