GithubHelp home page GithubHelp logo

Comments (13)

daleeidd avatar daleeidd commented on May 28, 2024 1

That image looks like OceanPlanarReflections > Clear Flags is not set to Skybox. Unless your skybox does not write alpha which would be strange. Try testing with Unity's procedural skybox.

from crest.

daleeidd avatar daleeidd commented on May 28, 2024 1

Perfect. That could be a combination of fresnel and colours blending.

I'll make Skybox the default as prefer to have things work over an optimisation. I'll document this in the tooltip and somewhere in the documentation too.

from crest.

daleeidd avatar daleeidd commented on May 28, 2024

Does changing the Clear Flags to Skybox solve it?

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

Does changing the Clear Flags to Skybox solve it?

Changing the Clear Flags does not seem to have an effect. The clear flags for the image above is with Skybox.

from crest.

daleeidd avatar daleeidd commented on May 28, 2024

Is that on the OceanPlanarReflections script? Otherwise can you remove the * saturate(refl.a) and see if it improves from the following line:

io_colour = lerp(io_colour, refl.rgb, _PlanarReflectionIntensity * saturate(refl.a));

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

OceanPlanarReflections

This is OceanPlanarReflections script, yes. Disabling saturate does have an effect and makes the tree leaves appear, but causes other more obvious problems with reflections / darkness on the surface
image
image

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

That image looks like OceanPlanarReflections > Clear Flags is not set to Skybox. Unless your skybox does not write alpha which would be strange. Try testing with Unity's procedural skybox.

It seems unrelated to the skybox. I tried it with default and a few others. Doesn't change. It also does not seem related to OceanPlanarReflections being on
image

from crest.

daleeidd avatar daleeidd commented on May 28, 2024

Can you provide a screenshot of the OceanPlanarReflections component?

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

Can you provide a screenshot of the OceanPlanarReflections component?

image

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

Can you provide a screenshot of the OceanPlanarReflections component?

Well I guess that solves that mystery. I was not aware you were referring to Clear flags on this script vs the camera.
image
image

image

Thanks for the help!

from crest.

daleeidd avatar daleeidd commented on May 28, 2024

No worries. Does it work correctly if you remove the reflection alpha modification?

from crest.

Revmatek avatar Revmatek commented on May 28, 2024

No worries. Does it work correctly if you remove the reflection alpha modification?

Yes, it does appear to be working correctly now.

image
It does seem to wash out a bit after I stop moving the camera but it is mostly fine. Definitely an improvement.
image

Seems to depend on the angles and only with trees
image
image

I'm not sure why there is a distinction between the transparency in the standard shaders and the custom / tree shaders, obviously depends on what each shader is doing I guess.

from crest.

daleeidd avatar daleeidd commented on May 28, 2024

Fixed in 4.20.

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.