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

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    69

    that's it. thank you

    that's it. thank you
  2. Replies
    2
    Views
    69

    how to alternate 2 VBOs inside one VAO

    I'm trying to implement a particle system using compute shader. I have 2 vertex buffer objects set up, I need to draw them alternatively every frame. Is there a way that I can alternate them inside...
  3. Thank you for your reply. I drew a 512x512...

    Thank you for your reply. I drew a 512x512 texture with left side being black and right side being red, then render this texture to 1152x648 frame buffer, and I did see some gradual transition in the...
  4. linear filtering not working for variance shadow mapping

    hi, I'm trying to implement variance shadow map, but got the result with very sharp shadow edge. I checked the glsl code and found out it's because the variance( = moments.y - moments.x * moments.x)...
  5. confusion about drawing meshes per material and uniform buffer for constants

    Hi there, I've been trying to build a simple rendering engine on my own in the hope of learning more about graphics. Now I have two confusions.

    1. To keep GL state change as few as possible, my...
  6. Thanks guys, I will try some profile later....

    Thanks guys, I will try some profile later. before that I think I will just use unsigned int, after all I'm working on PC.
  7. would unsinged_byte index hurts the speed of rendering

    using unsinged byte as index data type would save memory. I'm wondering would that slow down the rendering? because i learned that on cpu any data that will be retrieved frequently should be at least...
  8. I'm not sure if you have already leant it, but I...

    I'm not sure if you have already leant it, but I would recommend you first get some basic understanding of rendering pipeline, knowing how rendering pipeline works could gets you more comfortable...
  9. thank you, i'll check out that book.

    thank you, i'll check out that book.
  10. thank you guys. Do you have any suggestions on...

    thank you guys. Do you have any suggestions on books or websites to learn these basic stuff of glsl?
  11. how to pass variables through vertex shader, geometry shader and fragment shader?

    Hi there,

    I recently introduced geometry shader, but it didn't work out well. I have trouble passing variables through vertex shader to geometry shader and vertex shader to fragment shader.

    If...
  12. thank you, I'll try that.

    thank you, I'll try that.
  13. Thank you, can you give a small example how it is...

    Thank you, can you give a small example how it is used?
  14. Any GLSL pre-processor that can help reuse my code?

    hi there,

    can anyone suggest a way to reuse glsl code? Right now I need to copy-past my phong shading function every time I write a new shader.

    thanks.
  15. Replies
    4
    Views
    1,546

    Thanks, I'll try that later.

    Thanks, I'll try that later.
  16. Replies
    4
    Views
    1,546

    thanks for attention. but yes, I have searched on...

    thanks for attention. but yes, I have searched on the net for a while, either of tutorial you mentioned is using deprecated opengl api or I can't build it in VS2012.
  17. Replies
    4
    Views
    1,546

    can't do shadow mapping correctly

    Hi all,

    I've beening trying to do shadow mapping with glsl for a week, But I can't get the correct scene. I guess if it's because I didn't render the depth to texture correctly. and to clamp the...
  18. thank you guys. debug with color is a great idea,...

    thank you guys. debug with color is a great idea, I'll try that out.
  19. How to debug with shader, I've been stuck for 2 days and having no clue...

    I'm a beginner in opengl, recently I'm learning GLSL.
    but I find it's really difficult to dubug because I can't make break piont in shader files(that't usually how I do it).
    I also tried use...
  20. as you mentioned window-space is a 3d coord,...

    as you mentioned window-space is a 3d coord, right? I thought it was mapped from ndc and was a 2d coord.
  21. what is the range of clipping space in OpenGL?

    I'm a beginner in opengl, and I enounter a problem concering about clipping space.
    I read from opengl 4.0 reference that Values specified by glClearDepth are clamped to the range 0 1.
    but the...
  22. Replies
    3
    Views
    1,375

    Re: help with interactive water effect!

    Thank your for your advice! But still, I want to try it out. Can you offer some ideas? Maybe some simple example without reflection and refraction. For now I just want to implement on a physical...
  23. Replies
    3
    Views
    1,375

    Re: help with interactive water effect!

    is there anyone can help?
  24. Replies
    3
    Views
    1,375

    help with interactive water effect!

    Hi,
    I'm a beginner with opengl and I have already achieved a water effect with ripples and waves. Now I want to implement a interactive water effect, such as continuous waves tracking my mouse and...
Results 1 to 24 of 25