Code Monkey home page Code Monkey logo

Comments (3)

huwb avatar huwb commented on May 31, 2024 2

Hi Midda! These refer to the wave dynamics. For example, waves will reflect off obstacles. The effect is quite subtle but I could show it in a screenshot of the wave dynamics buffer if it helps.

Let me know if this is what you are after - I suspect you are referring to reflection and refraction of light, i.e. a transparent ocean surface? I haven't got around to making it support transparency but I will bump that to the top of my list.

from crest.

Midda-C avatar Midda-C commented on May 31, 2024

Ah, that makes more sense now. Yes, I was thinking of refraction of light.

We (I work with Dizzy who posted about tessellation) are investigating ocean solutions, and Crest has fantastic motion, which is an important factor for our project. We do though need an ocean sim which has transparency and would work with a day/night cycle, but if this is something you were planning to add anyway, that would be great.

Fantastic work, Crest looks amazing!

from crest.

huwb avatar huwb commented on May 31, 2024

I finally gave the shading some much needed love. It now supports transparency and a simple refraction (I believe I'm doing it the "right" unity way, it didnt require any drastic changes). I also improved the subsurface scattering. I put a big old ugly cube in the world to demo it for now, but I'll consider replacing it with something else.

I'm optimistic about supporting a day/night cycle (by manually setting up different ocean materials for each time of day), but if there are other requirements I'd be happy to hear them.

I've added 2 other improvement ideas to the readme once it has some island geometry. One is to dampen waves in shallow water in a physically accurate way (dampen big wavelengths first, then small wavelengths), which i think will give more interesting wave motion in shallow water than just scaling down the overall waves. Second is supporting a world aligned colour map to give nice shallow water colours. These will be fairly easy to implement and should make a big impact.

For now I will close this issue, thanks again for the message and let me know if you do decide to use Crest!

from crest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.