Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Texture bleeding using a sample2D array.

  1. #1
    Newbie Newbie
    Join Date
    Oct 2016
    Posts
    1

    Post Texture bleeding using a sample2D array.

    I'm new to OpenGL and i'm creating a 2D batch renderer. Everything works fine now, textures, scaling, blending, rotation, but, when an object is rotating somewhere on the screen, other objects get this weird texture glitching (bleeding?) on the corner:
    Click image for larger version. 

Name:	InewTay.gif 
Views:	59 
Size:	11.2 KB 
ID:	2296
    I am using a sampler2D array for changing between textures in the shader.

    Please ask for any code, if needed!

  2. #2
    Member Regular Contributor
    Join Date
    May 2016
    Posts
    467
    Quote Originally Posted by Bollie View Post
    Please ask for any code, if needed!
    show us how you are building the array texture
    show us the fragment shader code

Posting Permissions

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