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)
- Проигрываются звуки в меню с ui_renderworld 1 HOT 2
- [MOD: ThreeWave CTF] [Quake карты] Чёрные текстуры HOT 2
- [MOD: ThreeWave CTF] Не исчезает след от крюка HOT 1
- [MOD: Global Warfare] Не появляется модель игрока в меню выбора класса
- [MOD: Digital Paintball Redux] Крашится при запуске некоторых карт
- [MOD: Global Warfare] После второго запуска карты, при входе в главное меню курсор не сдвигается с центра экрана
- Darkened options using 25 year update files? HOT 5
- [MOD: Earth's Special Forces] Не открывается меню выбора команд
- [MOD: Earth's Special Forces] Чёрные модели игроков в меню выбора класса
- [MOD: Earth's Special Forces] В меню выбора класса отображаются классы с обеих команд
- [MOD: Earth's Special Forces] Игрок проваливается сквозь землю HOT 1
- [MOD: Earth's Special Forces] Игрок не издаёт звуки при прыжке HOT 3
- Quake WAD2 and Alias MDL formats broken HOT 1
- Xash3D keeps crashing HOT 10
- PHS generating takes a lot of time on some maps HOT 4
- Support for special Portuguese Brasilian characters: Á Ã Ó Í HOT 1
- Titles.txt utf-8 don't render HOT 24
- [MOD: Marathon Rampancy] Белый квадрат вместо радара HOT 1
- Дедикатед сервер не работает? HOT 2
- Моментальный краш игры с ошибкой Sys_Warn: Error: Can't initialize ref_gl renderer! HOT 24
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.