File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
blog/2024/2024-11-01-my-screen-is-black Expand file tree Collapse file tree 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
8080- fucked uvs
8181- you might be sampling from a corner of your texture where its actually black, check uvs
8282
83- ### Your Tringle is black
83+ ### Your Triangle is black
8484
8585- smells like your vao is fucked. make sure you setup the attributes (and stride when binding le vbo using DSA)
8686- fucked uvs?
@@ -137,4 +137,4 @@ Did you generate mipmaps?
137137
138138- check your depth buffer, near and far planes... try near 0.1f and 512/1024 as farplane
139139- 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