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

Menu blur #291

Merged
merged 5 commits into from Apr 14, 2017
Merged

Menu blur #291

merged 5 commits into from Apr 14, 2017

Conversation

@madame-rachelle
Copy link
Collaborator

@madame-rachelle madame-rachelle commented Mar 14, 2017

Using code originally written by dpJudas - this does the following:

  • Adds gl_menu_blur cvar (like dimamount defaults to -1)
  • Adds bluramount gameinfo option and added defaults to all games (usually 0.5)
  • Also puts it in the OpenGL preferences menu
dpjudas and others added 4 commits Feb 17, 2017
- made blur effect menu only
- moved CVARs to head of file as forward declaration
- FGLRenderer::BlurScene now checks if postprocessing is enabled before executing
Rachael Alexanderson
- made bluramount also into a gameinfo option
- negative gl_menu_blur cvar now uses gameinfo option, 0 disables it
- removed gl_menu_blur_enabled since gl_menu_blur==0 does that anyway
- made gl_menu_blur default to -1 to use gameinfo option
- add default gameinfo bluramount options
@MajorCooke
Copy link
Contributor

@MajorCooke MajorCooke commented Mar 14, 2017

I could also imagine this being of use with individual elements such as menus 'blurring' out into nothingness for ZScript's sake.

@coelckers coelckers merged commit ba6a56a into coelckers:master Apr 14, 2017
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@coelckers coelckers mentioned this pull request Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants