18 years, 1 month ago
Highlights
18 years, 1 month ago
Quote:Original post by extralongpantsYou may also want to try temporarily getting rid of the GL_SPOT stuff, or make absolutely certain that your light is pointing in the right d…
18 years, 1 month ago
Hello, all As we know, OpenGL doesn't provide something like glMaterialPointer as the glColorPointer. So I chose to use glColorMaterial when rendering with vertex array. One que…
18 years, 1 month ago
Hi, all I finally managed to work with Transform Feedback. I use a vertex shader coded using GLSL. In my simple test, I render a mesh (on the left hand side of my rendering wind…
18 years, 1 month ago
Hello, everyone! I'm using GLSL to write vertex shader for fast mesh deformation. Now the shader works well and the deformation is right. But I don't know how to read the deform…
18 years, 1 month ago
Latest Activity
See all in DiscussionsQuote:Original post by extralongpantsYou may also want to try temporarily getting rid of the GL_SPOT stuff, or make absolutely certain …
18 years, 1 month ago
I saw your picture. It seems the left ball (an earth?) has the wrong normal! Try moving the right ball …
18 years, 1 month ago
Or, inversely,glColor3fv(r, g, b);glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);is equivalent toglMaterial3f(GL_FRONT_AND_BACK, GL_AMBIENT, what_ambient???);glMaterial3f(GL_FRONT_AND_BACK
18 years, 1 month ago