Results 1 to 4 of 4

Thread: [SDL,OpenGL,C#] Textures changing basic colours.

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Phill64's Avatar
    Join Date
    Jul 2005
    Location
    Queensland, Australia
    Posts
    1,201

    [SDL,OpenGL,C#] Textures changing basic colours.

    Hi all,

    First time I've fully gotten into OpenGL, I'm using C# 2.0 and utilising SDL.NET, though for now I think pictures are more important than the code.

    Basically I've setup some controls and structs and got my app to be able to draw solid colour squares or textured squares to the screen. Here's the weird part, If I load one of my images "image.jpg" it looks fine... but if I load my other "test.jpg" the solid red square is darkened and I don't know why.

    I'm hoping an OpenGL vet knows exactly what causes this and it's a simple fix

    (NOTE: The attached image is of 2 different instances not 1, I just pasted them together is all)
    Attached Images Attached Images  

Posting Permissions

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



Click Here to Expand Forum to Full Width