Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Wrapping modes for TEXTURE_2D

  1. #1
    Member Regular Contributor
    Join Date
    Jun 2012

    Wrapping modes for TEXTURE_2D

    I am using texture wrapping modes in my code with tex cords ranging from 0-2. I am getting different output on driver A and B. I am bit confused about which one is correct. I am attaching images in which I have used GL_CLAMP_TO_EDGE. It is brick wall texture.

    Click image for larger version. 

Name:	A.jpg 
Views:	223 
Size:	14.5 KB 
ID:	1021. Click image for larger version. 

Name:	B.jpg 
Views:	189 
Size:	11.0 KB 
ID:	1022

  2. #2
    Member Regular Contributor Nowhere-01's Avatar
    Join Date
    Feb 2011
    second one is correct, if clamping is enabled for both S(x) and T(y) axes. first one is correct, if you enabled clamping only for S(x) axis.

Posting Permissions

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