GraphicsProgramming / GraphicsProgramming/blog

Additional error for "My screen is black" Article

Abierto
#69 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
HTML
Estrellas
12
Forks
28
Merge medio
11 h 33 min
PR fusionados (30 d)
3

Descripción

If you use texture2D rather than texture, then you can run into unexpected and inconsistent issues. In particular, on one of my computers, texture2D returned 0 on sampling int/uint textures, but functioned normally on float textures.
No errors and no debug messages were produced.
I would have avoided this issue if I had been using a GLSL linter at the time. Perhaps a good recommendation for the article's front matter (i.e. first things to do section)
Probably fits best under Textures/Triangles are black section.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.