Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualKaptein

Posted 03 November 2012 - 11:33 PM

it does sound like a BGRA issue,
did you provide GL_BGRA when loading the texture?
i don't see any texture loading directly to OpenGL in the code, so i guess that's taken care of by 'slick' with TextureLoader

if you disable texture loading, you will get a "default" texture which has the color 1.0, 1.0, 1.0, 1.0 (full white, full alpha)

anyways, it seems like there's a problem with Slick-util, considering you are using tutorial code
unless there is a different color encoding scheme with your PNGs... who knows =)

you could try to load the textures yourself, and see what works and what doesn't

#1Kaptein

Posted 03 November 2012 - 11:33 PM

it does sound like a BGRA issue,
did you provide GL_BGRA when loading the texture?
i don't see any texture loading directly to OpenGL in the code, so i guess that's taken care of by 'slick' with TextureLoader

if you disable texture loading, you will get a "default" texture which has the color 1.0, 1.0, 1.0, 1.0 (full white, full alpha)

anyways, it seems like there's a problem with Slick-util, considering you are using tutorial code
unless there is a different color encoding scheme with your PNGs... who knows =)

PARTNERS