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

Add a visual underwater effect #5

Open
emezeske opened this issue May 4, 2011 · 1 comment
Open

Add a visual underwater effect #5

emezeske opened this issue May 4, 2011 · 1 comment

Comments

@emezeske
Copy link
Owner

emezeske commented May 4, 2011

I'm picturing an additional shader pass that performs a Gaussian blur on the full frame if the Player's eyes are underwater. Here's a couple of good resources:

* http://www.gamedev.net/page/resources/_//feature/fprogramming/opengl-frame-buffer-object-101-r2331
* http://www.gamerendering.com/2008/10/11/gaussian-blur-filter-shader/
@emezeske
Copy link
Owner Author

emezeske commented May 6, 2011

Some kind of underlava effect is also necessary. It can probably be very similar to the underwater effect, but with more distortion and an orange tint.

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

No branches or pull requests

1 participant