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

Water #348

Open
pietru2004 opened this issue Jan 27, 2023 · 4 comments
Open

Water #348

pietru2004 opened this issue Jan 27, 2023 · 4 comments
Labels
discussion Lets discuss this! enhancement New feature or request

Comments

@pietru2004
Copy link
Contributor

pietru2004 commented Jan 27, 2023

I think there should be a demo for water diving (clear and mudy).
Swim mechanic could be made with mix of gliding flap motion and fly, but with hand actions for swim in directions.

@BastiaanOlij
Copy link
Member

Thats actually a pretty neat idea for an addition to the demo, I need to think some about this

@BastiaanOlij BastiaanOlij added enhancement New feature or request discussion Lets discuss this! labels Feb 24, 2023
@pietru2004
Copy link
Contributor Author

so I have some ideas for this:
-1 when player enters water check its AABB and with some kind of shader colorize players view distance
-2 Use 4.0 env. area fog to make water effect (yep the one that is having issues ATM godotengine/godot#72331)
Make water work similar to flying, but when in water :

  • a) disable gravity

  • b) slow player falling speed
    As for movement it could be:

  • a) using climbing to climb throu water (possibly most safe for not getting sick for those who get sick in vr)

  • b) making swim motion to move - slow hands movement causes no move, rapid hands move causes to swim (might be annoying for some people)

  • c) use direct movement or flight movement to move in 3D space of water

@Starkium
Copy link

Starkium commented Mar 11, 2023

@pietru2004 this is how I was going about water in unreal engine mobile pipeline. No post processing of any kind. All color and lighting are driven through material. I'm thinking about remaking this, different and likely better, in Godot 4. The colors are driven from a world position height value and color curve. Ignore the top water effect. Was debugging an android vulkan thing in unreal at the time.

Water Video

@pietru2004
Copy link
Contributor Author

Looks nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Lets discuss this! enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants