Results 1 to 2 of 2

Thread: copy red of RGB data into luminance texture

  1. #1
    Guest

    copy red of RGB data into luminance texture

    Hi,
    is there a way to copy only the red component from an RGB data into a luminance texture (using glTexSubImage)?

    Thanks
    Kit

  2. #2
    Guest

    Re: copy red of RGB data into luminance texture

    Any ideas? Is there a way setting a 'stride' value before copying the data?

    Thanks
    Kit

Similar Threads

  1. glConvolutionFilter2D and 16 bit luminance data
    By pleopard in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 04-05-2011, 03:02 PM
  2. copy data to textures
    By _arts_ in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-25-2011, 02:31 PM
  3. Copy frame data to texture
    By Klarkshroder in forum OpenGL: Basic Coding
    Replies: 14
    Last Post: 03-15-2011, 03:43 AM
  4. Does glTexImage2D copy the texture data?
    By maximus-dev in forum OpenGL ES
    Replies: 2
    Last Post: 04-27-2010, 08:00 AM
  5. How to copy data from one texture to another?
    By Gong in forum OpenGL: Advanced Coding
    Replies: 10
    Last Post: 10-21-2008, 07:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean