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 water component objects #24

Merged
merged 6 commits into from
May 5, 2022
Merged

Add water component objects #24

merged 6 commits into from
May 5, 2022

Conversation

JamesTKhan
Copy link
Owner

@JamesTKhan JamesTKhan commented May 5, 2022

This PR is gigantic so I do not expect any reviews for it. This PR adds the following features:

  1. Water Component with reflections/refractions (influenced strongly by ThinMatrix tutorials) and customization to distortions/ripples and texture resolutions.
  2. A full screen preview mode (F8). This is to help view water in the editor because in normal edit mode the water does not display across the full width of the preview window due to some viewport and framebuffer conflicts. This is notated in the Water Component text in the inspector pane.
  3. Skybox rendering was moved to the scene object to allow the skybox to be captured in the water reflections.

There are still more enhancements I would like to make but the PR is so large at this point I just want to get this code out there. I verified the water renders properly with the gdx-runtime as well.

Items still left to do:

  • Update change logs, versions Going to do this in another PR too.. this PR is just too big already
  • Look into water resizing (terrain needs this as well, but in a separate PR) Nevermind, going to do this in another PR as it will also affect terrain

image

Untitled.3.mp4

@JamesTKhan JamesTKhan marked this pull request as ready for review May 5, 2022 19:24
@JamesTKhan JamesTKhan changed the title (DRAFT) Add water component objects Add water component objects May 5, 2022
@JamesTKhan JamesTKhan merged commit 94145af into master May 5, 2022
@JamesTKhan JamesTKhan deleted the water-feature branch May 10, 2022 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant