Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • openmw openmw
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 734
    • Issues 734
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 68
    • Merge requests 68
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • OpenMW
  • openmwopenmw
  • Merge requests
  • !1316

Overhaul raindrop water ripple effect

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged wareya requested to merge wareya/openmw:master into master Oct 23, 2021
  • Overview 84
  • Commits 13
  • Pipelines 10
  • Changes 7
  • Replace raindrop ripple math with math that more clearly generates actual ripples.
  • Make raindrop ripple random placement change over time instead of only over different positions
  • Make the forced specularity/whiteness/lightness of water ripples use the absolute height of the ripple instead of the height itself. Doing max(0, ...) would technically be better but the difference isn't significant and abs() is shorter. Willing to change this to max(0, ...) if desired.

This looks slightly weird with refraction water (some ripples look "brown"), but only because refraction water itself handles estimated sunlight scattering improperly (the "brown"ness is only because those parts the ripples aren't green like their surroundings).

Willing to re-rewrite the math if the new math is too long/verbose to be wanted.

Closes #6360 (closed).

Edited Oct 23, 2021 by wareya
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master