GraphicsProgramming / GraphicsProgramming/blog

Additional error for "My screen is black" Article

Ouverte
#69 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
HTML
Étoiles
12
Forks
28
Merge moyen
11 h 33 min
PR mergées (30 j)
3

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.