Results 1 to 3 of 3

Thread: Does any browser supports FP textures as render targets?

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    5

    Does any browser supports FP textures as render targets?

    Hey,

    I've written a very basic app based on example from Learning WebGL page (http://learningwebgl.com/blog/?p=1786) that renders red color (value 2.0) to a texture and then in the next pass fetches color from this texture and renders it to the screen.

    Everything works fine if I use UNSIGNED_BYTE as a texture type, but when I switch to FLOAT it doesn't work anymore and I get INVALID_FRAMEBUFFER_OPERATION error on clear and drawElements calls and just a black canvas. The render target is 512x512 and in RGB format.

    Anybody knows if it's actually supported by any browser? I'm using Chrome 10 (dev channel), which says that it supports OES_texture_float extension.

    Cheers,
    Szymon

  2. #2
    Junior Member
    Join Date
    Jan 2011
    Posts
    1

    Re: Does any browser supports FP textures as render targets?


  3. #3
    Junior Member
    Join Date
    Jan 2011
    Posts
    5

    Re: Does any browser supports FP textures as render targets?

    Thanks.

    Actually it turned out that I wasn't enabling the extension - I thought that all available extensions are enabled by default and getExtension function is just used to check if it's available

Similar Threads

  1. PowerVR ES1.1 supports GL_LINE_LOOP accleration?
    By danielkim in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 09-21-2007, 06:09 AM
  2. What does it mean when hardware supports OpenGL es??
    By meganova75 in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 03-21-2004, 01:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •