Просмотр исходного кода

Update palette_switch.fs (#5205)

Removed unnecessary `a` in palette_switch.fs `note` comment
pull/5177/head
Smallz3201 4 месяцев назад
committed by GitHub
Родитель
Сommit
fe8c83b57d
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: B5690EEEBB952194
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      examples/shaders/resources/shaders/glsl330/palette_switch.fs

+ 1
- 1
examples/shaders/resources/shaders/glsl330/palette_switch.fs Просмотреть файл

@ -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)

Загрузка…
Отмена
Сохранить