TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
590 stars 156 forks source link

Radiant 1.6.6 wrong texture background and texture color. #635

Open ghost opened 5 years ago

ghost commented 5 years ago

Hi,

Lately I found a probably weird issue. My HDD crashed so I installed everything new, even the OS (Win 8.1). I also decided to try Radiant 1.6.6 instead of 1.6.5. After opening Radiant 1.6.6 I encountered that the displayed textures on the texture windows are too bright. Before I will give more information I want to say that it would be very helpful if someone can confirm/not confirm the issue, just to see if it is an issue of Radiant 1.6.6 or if the issue is on my side (new OS, new gfx drivers, etc.).

So here is the issue in detail:

THE ISSUE: The textures displayed in the texture window are too bright and look somehow 'out-washed'. What makes me think that the whole texture window is brighter than for example the camera window, is that even if I tune the window backgrounds the camera window background and the texture window background aren't of the same color, even if the color values are equal. An example: if I choose color name #404040 (64 64 64) for both windows than the texture background is much brighter than the camera background. I added a screenshot below where you can see the 'overbrightened' textures as well as the unequal background hues.

THE SYSTEM: My OS is Win 8.1 with all updates, Gfx card Nvidia GTX 770 latest drivers (4.6.0 NVIDIA 417.22). GtkRadiant: 1.6.6 - Apr 23 2018 downloaded from here; http://icculus.org/gtkradiant/downloads.html

ADDITIONAL NOTE: Unfortunately I can't say if this issue would also occur with Radiant 1.6.6 on my previous OS (Win7), and because of I don't want to 'downgrade' from 1.6.6 back to 1.6.5 I cant say if 1.6.5 on Win 8.1 will also suffer from this issue. If I should do some tests. please let me know.

THE SCREENSHOT: Note: it seems the textures are at the same factor 'brighter' as how the texture background window is brighter compared to the camera background window, hence my suspicion that the whole window is represented too bright. rad1 6 5-text-win-color

EDIT: The grid window background color works correct as expected!

Thanks!

Aciz commented 5 years ago

I can also confirm this issue, something is weird with the texture window. BUT, I haven't updated my GtkRadiant for a while as I haven't mapped, so I'm suspecting this issue has nothing to do with GtkRadiant, but maybe with Nvidia drivers.

I can notice my NetRadiant texture window has also changed a bit, but not to the extremes as GtkRadiant.

GtkRadiant 1.6.6 (Feb 4th 2018) Win 10 Pro x64 GTX 980 Ti (417.35 drivers)

wongit commented 5 years ago

Seems all radiants are affected by this, 399.24 is the last nvidia driver without the issue.

Aciz commented 5 years ago

Setting texture compression to none seems to partly fix this issue. Contrast is flatter than it used to be, but colors seem more accurate than with OpenGL ARB.

ghost commented 5 years ago

Hmm, setting texture compression to none doesn't change anything for me, nevertheless thanks for the hint, Aciz!

Aciz commented 5 years ago

Hmm, setting texture compression to none doesn't change anything for me, nevertheless thanks for the hint, Aciz!

You'll need to restart Radiant after changing it. Of course it might not work for you, maybe there's more to this issue on different hardware configs.

OpenGL ARB: OpenGL ARB

None: None

Notice how to green tint is gone when no texture compression is used.

Garux commented 5 years ago

This is bs still; I wonder if workaround exists for this NV gamma issue
Only camera seems to be not affected; I thought it was about order of ogl contexts creation, but cam is in the middle here
Cam is the only having depth buffer; also some specific ogl calls of cam might be tried in bugged contexts
It's basically up to interested coder, who has the bug

ensiform commented 5 years ago

Could the opengl optimizations shipped with the games on steam have any affect?

Garux commented 5 years ago

Anything may have an effect, but this is likely known NV gamma issue (is a thing for many games + recent drivers) ref: https://forums.geforce.com/default/topic/1074911/new-driver-messed-up-colors/

ghost commented 5 years ago

So there is nothing we can do code-wise? We have to wait for NV? (shake with fear)

sd2009-0 commented 4 years ago

Hi, These are not the only problems that you may encounter. I have much more to disclose. My GtkRadiant 1.6.6 does not work at all. It displays brushes wrong. It does not show ase models for rtcw at all or partially. The q3map2.exe x64 also lets wolfsp.exe display the brushes wrong as in the GtkRadiant 1.6.6 editor. The sound of target_speaker is also missing inside the maps. I have a lot of problems with GtkRadiant 1.6.6 with my NVidia GeForce 820M.

If you are interested in more details and screenshots feel free to see the link below:

https://github.com/TTimo/GtkRadiant/issues/648#issuecomment-613088993

I am keeping my GtkRadiant 1.6.4. It is much better.

Good luck

sd2009-0

ghost commented 4 years ago

Hmm, I think the issues you mentioned aren't related to this issue here. Anyways, unfortunately I can't reproduce your issues, so I can't really help you. All in all 1.6.6 works really well for me, it's just this damned NV driver. Thank you, and good luck too!