Comments (10)
I'm attempting to look into this using RenderDoc, but when I boot the engine I get the following message:
OpenGL. Context not created via CreateContextAttribs. Capturing disabled. Only OpenGL 3.2+ contexts are supported.
EDIT: Additionally, and very strangely, the gamma issue only seems to occur when the engine is in a widescreen resolution. If I set the video mode to something like 1024x768, the brightness of the menu looks normal, and in 1920x1080 it looks washed out. This only works if running in windowed mode - fullscreen 4:3 resolution still looks wrong.
from xash3d-fwgs.
I think it's better to trace which commit has broke the engine.
I'm still busy(until today I hope), so if you have time, you can try it by yourself. Use a bisect
tool.
from xash3d-fwgs.
The problem has appeared after 4483 merge.
from xash3d-fwgs.
I'll see if I can do some more investigating today.
EDIT: Oof, that's an enormous merge...
If b797e0a is the merge you're referring to, my uninformed guess is that the most likely things to have caused the problem are the luminance images or the fog. I'll do some poking around and see if I can affect the gamma in any way by changing these.
from xash3d-fwgs.
I've tried building from the commit just before the one mentioned earlier and the problem still persists. I'll see if I can go further back.
EDIT: Narrowed down the first commit exhibiting the issue to be a1391f3. Reverting it seems to fix things. I guess it's because the offsets to skip over the unused attributes are off by 1 each time?
from xash3d-fwgs.
For me reverting a merge commit fixes everything. O_o
i.e. on 74062fa everything is fine.
These attributes are binary compatible with SDL2 and setting an offset keeps compatibility. This should be removed and proper GL_Set/GetAttribute must be implemented in engine for SDL2.
from xash3d-fwgs.
Surely that change isn't binary-compatible, though? For example:
REF_GL_ALPHA_SIZE,
REF_GL_BUFFER_SIZE, // = REF_GL_ALPHA_SIZE + 1
REF_GL_DOUBLEBUFFER // = REF_GL_ALPHA_SIZE + 2
Becomes:
REF_GL_ALPHA_SIZE,
// UNUSED_REF_GL_BUFFER_SIZE,
REF_GL_DOUBLEBUFFER // = REF_GL_ALPHA_SIZE + 1,
So the actual values of the enum constants are no longer the same. Is this what was intended?
from xash3d-fwgs.
Woops.
from xash3d-fwgs.
Ok, I will fix it in next commit. :)
from xash3d-fwgs.
Fixed.
from xash3d-fwgs.
Related Issues (20)
- Adding CSM model format support HOT 1
- Video Glitches and slowness when explosions, raybeams using gles3compat
- Не включается электричество в главе Blast Pit при прохождении HOT 9
- Не получается тянуть ящики HOT 6
- Android version crashes when launching hl HOT 15
- SysCrash when loading any map HOT 6
- I can't start xash3d and keeps crashing HOT 5
- MOVETYPE_FOLLOW entities attached to movable entities are flickering HOT 3
- Engine doesn't send to player his player entity HOT 3
- SVC_SPAWNSTATICSOUND is not implemented HOT 16
- kRenderFxGlowShell rendering incorrectly HOT 6
- --disable-werror must enable some -Werror flags HOT 1
- Sys_crash when starting campaign, changing to a different game, exiting xash, starting hazard course HOT 6
- Where to put SDL2 dev package?
- Crash While booting HOT 2
- Crash? HOT 1
- [MOD: Brutal Half-Life beta 2] Обезглавленные NPC HOT 2
- Crash on updating Con_LoadHistory method HOT 1
- Support for iOS HOT 1
- [Android] Garbage on screen on Adreno GPU HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xash3d-fwgs.