vinartrulz
Newcomer
hello..
I have a 128 X 256 RGBA texture, which is the o/p of an algorithm. I want to copy these 128 X 256 X 4 values to a single channel texture of size 512 X 256. I tried glTexSubImage2D but it skips three channels and copies single channel to the first 128 entries of my destination texture. This is not the behavior i want. Please suggest a solution.
Thanks in advance
I have a 128 X 256 RGBA texture, which is the o/p of an algorithm. I want to copy these 128 X 256 X 4 values to a single channel texture of size 512 X 256. I tried glTexSubImage2D but it skips three channels and copies single channel to the first 128 entries of my destination texture. This is not the behavior i want. Please suggest a solution.
Thanks in advance