New answers tagged glsl
1
vote
Accepted
Geometry Shader Not Working
So as @Thomas mentioned, the issue seems to be the fact that I was passing "GL_LINE_STRIP" instead of "GL_LINE_STRIP_ADJACENCY" to the glDrawArrays() call. Apparently, "...
0
votes
Geometry Shader Not Working
The geometry shader should look something like this: the fragment shader should be changed to match.
...
-1
votes
Opengl GLSL binding locations confusion
https://www.khronos.org/opengl/wiki/Interface_Block_(GLSL)
uniform without buffer backed, only location, no binding.
location similar to position offset.
...
Top 50 recent answers are included
Related Tags
glsl × 256opengl × 134
shader × 71
texture × 20
vulkan × 17
fragment-shader × 17
c++ × 16
hlsl × 16
webgl × 15
rendering × 13
raytracing × 12
compute-shader × 12
mathematics × 11
lighting × 10
uv-mapping × 8
raymarching × 7
signed-distance-field × 6
transformations × 5
pbr × 5
performance × 5
color × 4
shading × 4
2d × 4
shadow × 4
normal-mapping × 4