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

Conversation

Projects
None yet
4 participants
@raa-eruanna
Copy link
Collaborator

raa-eruanna 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 some commits Feb 17, 2017

- added CVARs to control menu blur
- made blur effect menu only
- changed defaults
- moved CVARs to head of file as forward declaration
- FGLRenderer::BlurScene now checks if postprocessing is enabled before executing
- made gl_menu_blur into a menu option
- 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

This comment has been minimized.

Copy link
Contributor

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

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@coelckers coelckers referenced this pull request Apr 14, 2017

Closed

Revert "Menu blur" #297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment