File tree 1 file changed +2
-2
lines changed
blog/2024/2024-11-01-my-screen-is-black
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ Potentially you might not have set the vertex count variable and that contains a
80
80
- fucked uvs
81
81
- you might be sampling from a corner of your texture where its actually black, check uvs
82
82
83
- ### Your Tringle is black
83
+ ### Your Triangle is black
84
84
85
85
- smells like your vao is fucked. make sure you setup the attributes (and stride when binding le vbo using DSA)
86
86
- fucked uvs?
@@ -137,4 +137,4 @@ Did you generate mipmaps?
137
137
138
138
- check your depth buffer, near and far planes... try near 0.1f and 512/1024 as farplane
139
139
- your depth buffer might be too small and is set to D16 only, set it to something D24 or D32
140
- - you use SDL2 and on your platform the default might be set to D16, find the SDL2_GL_Set_Attribute which sets the depth bits for the default fbo
140
+ - you use SDL2 and on your platform the default might be set to D16, find the SDL2_GL_Set_Attribute which sets the depth bits for the default fbo
You can’t perform that action at this time.
0 commit comments