PDA

View Full Version : copy red of RGB data into luminance texture



06-11-2002, 05:58 AM
Hi,
is there a way to copy only the red component from an RGB data into a luminance texture (using glTexSubImage)?

Thanks
Kit

06-24-2002, 03:48 AM
Any ideas? Is there a way setting a 'stride' value before copying the data?

Thanks
Kit