Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: spong3bob

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    999

    I now implemented your PositionFromDepth-...

    I now implemented your PositionFromDepth- function, but still got the same problem.
    1015

    The light is positioned directly under the duck.

    Here's my code:


    vec3 PositionFromDepth(in float...
  2. Replies
    3
    Views
    999

    Deferred PointLight in view space

    Hi,
    I got some problems getting my pointlight to work for my deferred shader.
    I'm computing the viewspace position of the pixels from my depth-buffer:



    float DepthToZPosition(in float depth)...
  3. Replies
    2
    Views
    956

    Re: glew + sdl problems

    well it's already strange that it doesn't show the message box
    if (GLEW_VERSION_1_3)
    {
    MessageBox(0,"asdf", "asdf", MB_OK);
    }

    and for the FBO i did it in another file
  4. Replies
    2
    Views
    956

    glew + sdl problems

    Hi!
    i got some problems with glew.


    #include <Windows.h>
    #include <SDL.h>
    #include "Settings.h"
    #include "Buffer.h"
    #include <GL/glew.h>
  5. Replies
    1
    Views
    1,939

    "wglGetProcAddress" won't work

    title says everything..
    I'm linking the Gl32.lib and GlU32.lib
    here's my code:

    The .h file


    #define GL_GLEXT_PROTOTYPES
    #include <Windows.h>
    #include <gl/GL.h>
Results 1 to 5 of 5