Jump to content

Skybox Strangeness


Recommended Posts

Anyone noticed textures rendering differently on skyboxes than normal shapes? Here's what I'm seeing on my end using latest dev branch (but also tried in 3.10.1 as well - same issue).


On the left is the texture in paint.net, the cube on the right is a TSStatic textured with the same tex and behind it is the skybox also using the same texture. The skybox colors are off somehow. Tried with other cubemaps as well, including the night sky which renders as brighter and more washed out than it's supposed to be.

Link to comment
Share on other sites

When you open the material editor and pick a diffuse color, there is a checkbox that says "use sRG" color space (probably a spelling error should be sRGB) then you can see the difference.

So your texture uses sRGB default color space, while the skybox material uses the other something whatever color space. Through this option you cannot fix your problem, but it should give you a hint what is causing it, it probably needs to be changed in source code somewhere to use sRGB as well like the regular materials.

Link to comment
Share on other sites

You need to open the diffuse color in a regular material and in the color picker that pops up you will have that checkbox. As I said you cannot influence the texture color with that, especially not the skybox, but I'm quite sure the color space is the issue here, since if you select the color orange like in your first image and then switch to non sRGB it will appear more yellow like what your skybox looks.

Link to comment
Share on other sites

If you're using development, that temp isSRGB checkbox was there at one point prior to standardizing how colors are handled by the engine. A proper fix'll likely be taking




and swapping that GFXStaticTextureProfile on over to GFXStaticTextureSRGBProfile (s) in your case. (perhaps most cases.)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...