Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worse visual quality with OpenGL 2 #68

Closed
thomas-mc-work opened this issue Mar 28, 2021 · 1 comment
Closed

Worse visual quality with OpenGL 2 #68

thomas-mc-work opened this issue Mar 28, 2021 · 1 comment
Labels

Comments

@thomas-mc-work
Copy link
Contributor

thomas-mc-work commented Mar 28, 2021

The game seems to have some visual issues when being compiled with gl2 instead of gl1. I can notice a worse font rendering in them menus and also a worse mouse shadow (seems to be rasterized with a lower resolution). During the race I've considered issues with the horizon.

The game is compiled on Ubuntu 20.04 with the gl2 switch. I can remember that this didn't happen some years ago.

@thomas-mc-work thomas-mc-work changed the title Worse visual with OpenGL 2 Worse visual quality with OpenGL 2 Apr 3, 2021
@zaps166 zaps166 added the bug label Nov 28, 2021
@zaps166
Copy link
Owner

zaps166 commented Nov 28, 2021

Both issues are related to gamma. I fixed the font and cursor shadow, but not the horizon.
I don't know how to easily fix the gamma for the horizon, because I've noticed gamma is applied twice there. If I do a condition for this, most of the HUD has wrong gamma applied.


If you disable gamma (set "Brightness" to "1" in game settings), the horizon will be correct.

zaps166 added a commit that referenced this issue Mar 16, 2022
This reverts commit bfb89b7.

GL1 mode is still compatible and it runs faster on slow machines and
doesn't have gamma bug (#68).
zaps166 added a commit that referenced this issue Mar 7, 2024
OpenGL(ES) 2 changes:
- render to texture,
- rename "UseWindowSizeForFullScreen" to "FixedRenderingSize",
- change framebuffer size instead of screen resolution for
"FixedRenderingSize" option,
- fix gamma in some locations (#68, apply gamma in post-processing),
- MSAA is no longer available for OpenGL(ES) 2,
- fix textures brightness due to incorrect texture format conversion,
- fix triple-buffering flickering in some menu animations or loading
screen,
- some code refactor,
zaps166 added a commit that referenced this issue Mar 7, 2024
OpenGL(ES) 2 changes:
- render to texture,
- rename "UseWindowSizeForFullScreen" to "FixedRenderingSize",
- change framebuffer size instead of screen resolution for
"FixedRenderingSize" option,
- fix gamma in some locations (#68, apply gamma in post-processing),
- MSAA is no longer available for OpenGL(ES) 2,
- fix textures brightness due to incorrect texture format conversion,
- fix triple-buffering flickering in some menu animations or loading
screen,
- some code refactor,
zaps166 added a commit that referenced this issue Mar 7, 2024
OpenGL(ES) 2 changes:
- render to texture,
- rename "UseWindowSizeForFullScreen" to "FixedRenderingSize",
- change framebuffer size instead of screen resolution for
"FixedRenderingSize" option,
- fix gamma in some locations (#68, apply gamma in post-processing),
- MSAA is no longer available for OpenGL(ES) 2,
- fix textures brightness due to incorrect texture format conversion,
- fix triple-buffering flickering in some menu animations or loading
screen,
- some code refactor,
zaps166 added a commit that referenced this issue Mar 7, 2024
OpenGL(ES) 2 changes:
- render to texture,
- rename "UseWindowSizeForFullScreen" to "FixedRenderingSize",
- change framebuffer size instead of screen resolution for
"FixedRenderingSize" option,
- fix gamma in some locations (#68, apply gamma in post-processing),
- MSAA is no longer available for OpenGL(ES) 2,
- fix textures brightness due to incorrect texture format conversion,
- fix triple-buffering flickering in some menu animations or loading
screen,
- some code refactor,
zaps166 added a commit that referenced this issue Mar 7, 2024
OpenGL(ES) 2 changes:
- render to texture,
- rename "UseWindowSizeForFullScreen" to "FixedRenderingSize",
- change framebuffer size instead of screen resolution for
"FixedRenderingSize" option,
- fix gamma in some locations (#68, apply gamma in post-processing),
- MSAA is no longer available for OpenGL(ES) 2,
- fix textures brightness due to incorrect texture format conversion,
- fix triple-buffering flickering in some menu animations or loading
screen,
- some code refactor,

Also apply some changes to OpenGL 1.
zaps166 added a commit that referenced this issue Mar 7, 2024
OpenGL(ES) 2 changes:
- render to texture,
- rename "UseWindowSizeForFullScreen" to "FixedRenderingSize",
- change framebuffer size instead of screen resolution for
"FixedRenderingSize" option,
- fix gamma in some locations (#68, apply gamma in post-processing),
- MSAA is no longer available for OpenGL(ES) 2,
- fix textures brightness due to incorrect texture format conversion,
- fix triple-buffering flickering in some menu animations or loading
screen,
- some code refactor,

Also apply some changes to OpenGL 1.
@zaps166 zaps166 closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants