Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 35431

OpenGL is a graphics standard and API which targets the desktop and workstation markets. It is designed to be easy to accelerate with dedicated computer hardware, and hence most implementations give greatly improved performance over traditional software rendering. Currently, OpenGL is used for applications like CAD software and computer games. It is also cross-platform. The OpenGL standard is controlled by the Khronos group, which also controls OpenGL ES.

1 vote
3 answers
3k views

Rendering order

In this thread Rendering a model with transparent or translucent uv map applied doesn't work , I asked about what was wrong with my model that the transparency wasn't working. I've got an answer that …
Kipras's user avatar
  • 301
1 vote
1 answer
1k views

Sprite rotation

I'm using OpenGL and people suggest using glRotate for sprite rotation, but I find that strange. …
Kipras's user avatar
  • 301
2 votes
1 answer
2k views

How does the fragment shader get data from the vertex shader?

How can any interactions between these two shaders work? I mean the vertex shader sends a vertex's color to the fragment shader, but that's only one fragment, what about all the other ones between the …
Kipras's user avatar
  • 301
-3 votes
1 answer
395 views

GLSL does weird things to my view matrix [closed]

uniform mat4 model; uniform mat4 view; varying vec4 vColor; void main(){ gl_TexCoord[0] = gl_MultiTexCoord0; gl_Position = view * model * gl_Vertex; vColor = gl_Color; if(view * mo …
Kipras's user avatar
  • 301
6 votes
2 answers
5k views

When is the Z coordinate normalized in GLSL?

I thought that whenever you transform an object to world space, then view space and finally screen space, the last matrix you apply(the projection matrix) normalizes the z values between 0 and 1. How …
Kipras's user avatar
  • 301
0 votes
0 answers
289 views

Rendering a model with transparent or translucent uv map applied doesn't work

This is the result with a translucent green texture: I did transparency with OpenGL when I did 2D games and everything worked nicely because of these two lines: glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA …
Kipras's user avatar
  • 301
3 votes
1 answer
6k views

What is the difference between shader uniforms and attributes in OpenGL?

I don't fully understand the differences between uniforms and attributes. To be honest, I probably haven't even used attributes. Can uniforms change for each vertex? I mean to calculate the vertex's …
Kipras's user avatar
  • 301