Przeglądaj źródła

Update palette_switch.fs (#5205)

Removed unnecessary `a` in palette_switch.fs `note` comment
pull/5177/head
Smallz3201 3 miesięcy temu
committed by GitHub
rodzic
commit
fe8c83b57d
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      examples/shaders/resources/shaders/glsl330/palette_switch.fs

+ 1
- 1
examples/shaders/resources/shaders/glsl330/palette_switch.fs Wyświetl plik

@ -17,7 +17,7 @@ out vec4 finalColor;
void main()
{
// Texel color fetching from texture sampler
// NOTE: The texel is actually the a GRAYSCALE index color
// NOTE: The texel is actually the GRAYSCALE index color
vec4 texelColor = texture(texture0, fragTexCoord)*fragColor;
// Convert the (normalized) texel color RED component (GB would work, too)

Ładowanie…
Anuluj
Zapisz