GraphicsProgramming / GraphicsProgramming/blog

Additional error for "My screen is black" Article

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
12
Forks
28
Avg merge
11h 33m
Merged PRs (30d)
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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the article's Textures/Triangles are black section and inspect its front matter, especially the first-things-to-do guidance. Add the reported texture2D issue and the GLSL linter recommendation there, with the change complete when the warning is clearly included in the article.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.