GraphicsProgramming / GraphicsProgramming/blog

Additional error for "My screen is black" Article

Offen
#69 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
HTML
Sterne
12
Forks
28
Ø Merge
11 Std. 33 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.