Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4576934
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:16:31+00:00 2026-05-21T20:16:31+00:00

I have a texture where it is a 4×4 grid in a 256×256 pixel

  • 0

I have a texture where it is a 4×4 grid in a 256×256 pixel jpg. If i use that picture for my texture, my entire scene turns black and white. However if I use a different pattern, a checkerboard, the scene has color again. I did make the 2nd texture in GIMP if that has something to do with it. I have quite a lot of code so If anyone has an idea what could be the problem that would be awesome. Otherwise, I will paste bin the code so that you can probably find the one thing I missed lol.

Basically, I just followed the StencilCSG OpenTK example for loading a jpg. I also used the wrap modes for textures. It seems like if I just use some random texture from Google Images it works but my own textures make it all black and white. I think it has to do with how GIMP saves the files in SRGB but idk.

EDIT:

I found a work around right after I decided to post a question. I just disable textures after I render my textured square. I found a FAQ for opengl textures that said to disable and enable when needed. This works but I didnt think you needed to do that. Anyway, I would still love to know what was happening behind the scenes to make my scene black and white.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:16:32+00:00Added an answer on May 21, 2026 at 8:16 pm

    Solution, turn off textures after you render all of your textured polys.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big texture, 256*256 there is 64*64 pixel textures on it. How
I have a 256x256 texture in my view frustum that I need to move
i have a 1024 x 1024 image I use for a texture in my
I have a texture loaded into memory that is of RGBA format with various
Let's say I have this texture on a polygon: How would I render that
I have a texture that follows a user's finger in GLKit. I calculate the
I have one texture that has some portions which are transparent transparent I want
I have a texture that is semi-transparent with varying opacity at different locations. I
I have a grass texture: I use it in my 2d-game. I want to
I have a 2D texture that I want to reuse instead of having different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.