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: GreyMist

Search: Search took 0.00 seconds.

  1. I removed loop and changed lights array...

    I removed loop and changed lights array "lights[NUM_LIGHTS]" to lights and now it work. Why?
  2. Logs: Intel: Graphics card parameters:...

    Logs:

    Intel:
    Graphics card parameters:
    Vendor: Intel
    Renderer: Intel(R) HD Graphics
    OpenGL: 4.0.0 - Build 9.17.10.2932
    GLSL: 4.00 - Build 9.17.10.2932
    Shader...
  3. I changed "out vec3 color;" to "varying out vec3...

    I changed "out vec3 color;" to "varying out vec3 color;" and now it's working on nVidia but not on intel... ?!
  4. error C5060: out can't be used with non-varying color

    Hello.
    Does anyone know why for shaders like...

    Vertex.shader: (recompiled 32 times with difference NUM_LIGHTS for multiple lights)

    #version 330 core

    layout(location = 0) in vec3...
Results 1 to 4 of 4