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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Never mind, ... ...

    Never mind,


    ...
    glExt_glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, vao->iboid);
    idxbuf = glExt_glMapBufferRange(GL_ELEMENT_ARRAY_BUFFER, offset, locksize,
    GL_MAP_WRITE_BIT |...
  2. Updating GL_ELEMENT_ARRAY_BUFFER causes performance feedback warnings on Intel MESA

    Hello,

    updating the GL_ELEMENT_ARRAY_BUFFER always causes the performance feedback of the Intel Mesa driver to complain like:
    Using a blit copy to avoid stalling on glBufferSubData(0, 216) (0kb)...
  3. That might be a clue. 16bit rgb = 6 bytes = non...

    That might be a clue.
    16bit rgb = 6 bytes = non power of two while
    16bit rgba = 8 bytes = power of two.

    If it's true than I'd be wasting 2 bytes. That doesn't sound like much but when you...
  4. Question about FBO and 16Bit RGB Half Float textures

    Hello,

    I'm unable to create a 16 bit float texture with RGB channels for an FBO.

    This attempt fails with GL_FRAMEBUFFER_UNSUPPORTED:


    glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB16F, dim[0],...
  5. Using Uniform Buffer Objects (UBO) in Fragment Shaders

    Hello,

    recently I've being toying with UBOs to pass light data (position, color, radius) to my fragment shader. After getting terrible performance results I'm starging to wonder if what I did...
  6. Replies
    1
    Views
    605

    static lightmap on large polygons

    Hello,

    I'm working on a glow effect that illiuminates lower parts of walls if the floor in my scene has a glowing texture. My problem: I cannot use any texture atlas or uv lightmaps and the wall...
  7. hi! take a look at my last thread:...

    hi! take a look at my last thread: http://www.opengl.org/discussion_boards/showthread.php/180940-Deferred-shading-and-light-volumes?p=1248303#post1248303

    regards
    saski
  8. Accessing FBO during deferred light pass with combined stencil/depth buffer

    Hello,

    I've hit a problem during my attempt to write a deferred light shader using stencil light volumes. The combined depth/dtencilbuffer setup looks like this:



    glGenTextures(1,...
  9. Replies
    13
    Views
    6,699

    Never mind! Found the solution. It is always a...

    Never mind! Found the solution. It is always a good Idea to watch the stencil buffer ranges when incrementing/decrementing :whistle:

    Doing:


    glStencilOpSeparate(GL_FRONT, GL_KEEP,...
  10. Replies
    13
    Views
    6,699

    Hello, I'm still struggeling with the light...

    Hello,

    I'm still struggeling with the light volume artifacts described in my last post. stupid question: Why is the light volume only being culled by the depth-test? This seems to be the problem...
  11. Replies
    13
    Views
    6,699

    Hi, I've made some progress using the stencil...

    Hi,

    I've made some progress using the stencil culling and it amlost works :). There is however one more issue: Depending on the view of the camera the stencilbuffer seems to have trouble culling...
  12. Replies
    13
    Views
    6,699

    Hi Dark Photon, again thanks a bunch for your...

    Hi Dark Photon,

    again thanks a bunch for your patience and your effort. and this time I believe I finally got it :)
    Image below shows basically the sphere after some code tweaks. There is a...
  13. Replies
    13
    Views
    6,699

    Hi, @thokra: You're probably right that tiled...

    Hi,
    @thokra: You're probably right that tiled shading is the best way to go. I'm kinda new to Shading and don't know too much about OpenCL so I'll give it a shot after I've got the oldstyle light...
  14. Replies
    13
    Views
    6,699

    Hi Dark Photon, first I'd like to thank you...

    Hi Dark Photon,

    first I'd like to thank you for your time explaining to me the details. But I still don't get the whole picture.



    Let me see if I got this: What you mean exactly with on top...
  15. Replies
    13
    Views
    6,699

    Deferred shading and light volumes

    Hello,
    currently I'm trying to optimize my deferred shading by using lightvolumes to process only those fragments that are affected by the lightsource. I've read many tutorials and I'm very confused...
  16. oh yeah now I see my mistake! the GL_BLEND...

    oh yeah now I see my mistake! the GL_BLEND totally slipped me.

    Thanks very guys much for the quick help!!!!
  17. hi, well I assume that the shader compiles...

    hi,
    well I assume that the shader compiles correctly. glGetShaderiv() always returns a good status and there are no warnings whatsoever. And there is no random "jittering" in the scene. the depth...
  18. Problem accessing MRT samples in deferred shading

    Hello,

    I've played around with deferred shading recently and during several optimization approaches I've tried to pack additional values like specular or ambient factors in already existing...
  19. Replies
    3
    Views
    1,288

    problem solved! explicitly calling...

    problem solved! explicitly calling glDisable(GL_ALPHA_TEST) before rendering the geometry to MRTs did the job :)

    Saski
  20. Replies
    3
    Views
    1,288

    Hi, Because objects appear to be partial...

    Hi,
    Because objects appear to be partial tranaparent as if the alpha channels of the MRTs are being mixed somehow. Maybe I'm confusing this with a depth test fail.

    Saski
  21. Replies
    3
    Views
    1,288

    Deferred Shading, MRT and Depth Test

    Hello,

    I'm currently implementing a deferred shader with multiple render targets for albedo, normal and position. The depth test fails as soon as I set the "alpha" value for the normal or position...
  22. Replies
    4
    Views
    1,257

    Re: paletted textures and bilinear filtering?

    well it's a project targeted for opengl ES 2.0 embedded systems with ~32MB texture memory availble.
    and btw. enemy sprites in doom are composed of multiple frames with 8 different view angles. thas...
  23. Replies
    4
    Views
    1,257

    Re: paletted textures and bilinear filtering?

    hi!
    thanks for your input. is there any sample shader code for the texel lookup availble? I'm pretty new to glsl and could use a little heads up ;-). you're absolutely right regarding texture...
  24. Replies
    4
    Views
    1,257

    paletted textures and bilinear filtering?

    hello,

    I would like to use paletted textures for my sprite engine to save texture memory. doing the palette lookup is easily done in the fragment program. however I need bilinear filtering enabled...
  25. Replies
    11
    Views
    4,268

    Re: Regarding GLSL not being supported.

    The Intel 945G does not support any shaders AFAIK. any opengl application intending to use shaders should check the opengl extension string for "GL_ARB_vertex_shader" wich is probably not availble on...
Results 1 to 25 of 39
Page 1 of 2 1 2