GraphicsProgramming / GraphicsProgramming/blog
Additional error for "My screen is black" Article
- Ngôn ngữ chính
- HTML
- Star
- 12
- Fork
- 28
- Merge trung bình
- 11 giờ 33 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- html
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100