Questions tagged [opengl-4]

OpenGL 4 is the current iteration of the OpenGL standard, designed to reflect newest capabilities of modern GPU in 3D rendering. OpenGL 4 requires DX11 level hardware.

OpenGL 4 is the current iteration of the OpenGL () standard, designed to reflect newest capabilities of modern GPU in 3D rendering. OpenGL 4 requires DX11 () level hardware. The major features of GL4 include: hardware tesselation support, ability to dynamically link shader subroutines, ability to set individual blend equations and blend functions for each color output and a mechanism to supply the arguments to certain Draw functions from buffer-object memory.

Release Dates:

  • OpenGL 4.0: March 11, 2010
  • OpenGL 4.1: July 26, 2010
  • OpenGL 4.2: August 8, 2011
  • OpenGL 4.3: August 6, 2012
  • OpenGL 4.4: July 22, 2013
  • OpenGL 4.5: August 11, 2014
  • OpenGL 4.6: July 31, 2017
426 questions
-1
votes
1 answer

I can't get a simple indexed array rendered properly

I am porting this sample (site) to jogl but I noticed something wasn't perfect in the image, some artefacts on the floor and shapes not exactly squared, as you can see (dont care about color, is varying), also the floor doesnt look good: Therefore…
elect
  • 6,765
  • 10
  • 53
  • 119
-1
votes
1 answer

glTexStorage3D for Sparse Texture has glError Invalid Value, but values seem legit

I am trying to create a sparse texture array in OpenGL and as far as i can tell my values are okay. See the comment above the actual call for the values from debugger. glGenTextures(1, &mTexId); glBindTexture(GL_TEXTURE_2D_ARRAY, mTexId); …
Joe
  • 454
  • 1
  • 6
  • 20
-2
votes
1 answer

glGetProgramResourceName() Throws

I am trying to get the uniform block name from a shader handle using glGetProgramResourceName(). Yet it throws (0xC0000005: Access violation executing location 0x0000000000000000) on std::vector blockName and I can't figure out why. GLint…
-2
votes
1 answer

OpenGL Instanced rendering shape messed up

I'm trying to build a voxel engine, and to do this I have to create hundreds of thousands of voxels, and I was hoping I could use instanced rendering. However, on rendering, the shape is completely disfigured, and not the expected cube shape: And…
octopirate
  • 35
  • 1
  • 10
-2
votes
1 answer

OpenTK: Sprites not Rendering?

I have been able to get the window to render, Im pretty sure my shader is working, and I can fetch the Image from my assets, however when I actually render the view I just get my blue background and no sprite shows up. Basic design is as…
-3
votes
1 answer

represent a stacked bar chart graphically with openGL using C++

i figured out how to make the bar pieces but my problem is with the positioning of each piece's bottom edge, i can't figure out how to make them perfectly stacked on each other, so most of them end up being on top of the other, making the bar look…
narlingz
  • 9
  • 4
1 2 3
28
29