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

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: sRGB and normals

    by Xmas
    Replies
    7
    Views
    1,572

    Re: sRGB and normals

    The OpenGL spec does not guarantee sRGB to lRGB conversion happening before filtering, but all recent hardware does it that way. Filtering textures in non-linear color space can give visibly...
  2. Replies
    9
    Views
    6,218

    Re: How are dFdx and dFdy functions implemented

    Typically, GPUs calculate 2x2 blocks of fragments in parallel. This is true even if some of those fragments are outside the primitive being drawn, they just get masked before writing to the...
  3. Replies
    9
    Views
    1,957

    Re: Shader doesnt work

    That shader is horrible to read, but I don't think it's anywhere close to instruction or temp limits on any modern PC GPU. It will even "run" on many smartphones.
  4. Replies
    26
    Views
    8,321

    Re: GL_EXT_discard_framebuffer

    In the vast majority of FBO usage cases you don't need to keep depth/stencil or multisample data around. Discarding the contents of these attachments should become a matter of course.


    If someone...
  5. Replies
    26
    Views
    8,321

    Re: GL_EXT_discard_framebuffer

    And why is using a NULL pointer for texture image data not enough?

    I'd disagree that your suggestion is a better way for the common use case of discarding render targets.
  6. Replies
    26
    Views
    8,321

    Re: GL_EXT_discard_framebuffer

    I was just explaining to Alfonse why it makes sense to discard FBO attachments instead of images.


    Tile based renderers are not limited to OpenGL ES. ;)
  7. Replies
    26
    Views
    8,321

    Re: GL_EXT_discard_framebuffer

    The main purpose of the EXT_discard_framebuffer extension is to avoid unnecessary data copies on tile based renderers, especially writing out depth, stencil, or multisample data to external memory...
  8. Replies
    11
    Views
    3,600

    Re: zNear/zFar: how to do depth partitioning?

    You should render the near objects first unless they require blending. Use glDepthRange to map your near and far objects to distinct ranges of depth buffer values, don't clear the depth buffer in...
  9. Re: New NV drivers return different uniform array name

    Probably convergence with OpenGL ES. An OpenGL 3.3 implementation may return the name with or without "[0]" appended, OpenGL ES 2.0 requires returning the long variant.
  10. Replies
    2
    Views
    1,907

    Re: OES extensions in NVIDIA 280.xx Beta

    Actually, that's not quite true (even though it's what most implementations do):
  11. Re: Viewport distortion- even with proper aspect ratio

    640/480 is 1. What you want is 640.0/480.0.
  12. Replies
    12
    Views
    6,249

    Re: Choice for Toolkit

    - Precision qualifiers were added to GLSL 1.30 to aid portability.
    - Some GLES2 commands are more restricted than their GL counterparts, but that doesn't really make it harder to write portable...
  13. Replies
    4
    Views
    3,549

    Re: glColorPointer and colors for whole triangle

    Sounds like flat shading to me.
    glShadeModel(GL_FLAT);
  14. Replies
    24
    Views
    8,222

    Re: Rendering without Data: Bugs for AMD and NVIDIA

    If you write code on a conformant implementation it might fail on a restricted one.

    And if, as you say, people don't read specs they won't care much which implementation is conformant. It only...
  15. Replies
    24
    Views
    8,222

    Re: Rendering without Data: Bugs for AMD and NVIDIA

    Being too restricted means that code written against (the spec/a conformant implementation) will break. The situation is pretty much identical.
  16. Replies
    2
    Views
    1,460

    Re: texture filtering problem

    The return type of texel fetch function depends on the sampler type used. It is float when using a shadow sampler type.
  17. Replies
    32
    Views
    14,491

    Re: OpenGL 3.2 vs. 3.3?

    That's a pretty bad description as ES2.0 is not backwards compatible to ES1.1. The fixed function pipeline is gone, among other things, while more than GLSL was added.
  18. Replies
    22
    Views
    12,418

    Re: Homogenous, Normalized Device Coords and clipping

    No, it isn't. If clip space W is negative the vertex should be clipped.
  19. Replies
    1
    Views
    3,130

    Re: bind texture map to depth buffer with gles 2

    For depth textures you need to check whether OES_depth_texture is supported on the target platform. Note that type has to be GL_UNSIGNED_SHORT or GL_UNSIGNED_INT.
  20. Replies
    3
    Views
    4,183

    Re: opengl es 2 shader on Ipad

    That's not quite correct. GLSL ES 1.00 does not mandate non-const loop bounds, but they're not disallowed either. They should in fact be supported on the iPad. The same is true for arbitrary array...
  21. Replies
    11
    Views
    5,105

    Re: Depth-texture values always clamped to [0, 1]

    He's talking about shadow mapping. The depth comparison should generally give the same result in either space. Though I suppose he means eye space, not world space.
  22. Replies
    54
    Views
    25,929

    Re: Instancing sucks ?

    Except there should never be a need to use less efficient means with instancing.
  23. Replies
    17
    Views
    4,868

    Re: Detecting the hardware acceleration of a shade

    This is an excellent example of how the intention behind a carefully worded technical document can be lost in the ambiguity of English.[/QUOTE]
    The meaning of terms like "should not" and "must not"...
  24. Replies
    17
    Views
    4,868

    Re: Detecting the hardware acceleration of a shade

    The spec says "should not" instead of "must not", though. You can always run out of memory, after all. And if the hardware supports "large enough" shaders (e.g. 32-bit instruction pointer) and...
  25. Replies
    1
    Views
    966

    Re: glUniform index arithmetic

    1. A handle.
    2. It probably works, but the spec doesn't make any guarantees.
    3. Yes.
Results 1 to 25 of 348
Page 1 of 14 1 2 3 4