GithubHelp home page GithubHelp logo

Comments (8)

klauskobald avatar klauskobald commented on May 24, 2024 1

So, I turned off Priming - it was on Auto. They are writing, that on iOs and Android priming could lead to even more GPU load.
With priming off, everything works.

from crest.

klauskobald avatar klauskobald commented on May 24, 2024

Another interesting Behaviour: when I set to "OnDemand" and start the scene, the water stays flat - no waves. When I trigger Populate Cache the waves start but the depth cache is black.
When set to "OnStart" populate creates the proper depth cache. When I change to On Demand during play populate cache does not work either.

from crest.

klauskobald avatar klauskobald commented on May 24, 2024

"Force Always Update Debug" does not work either

from crest.

daleeidd avatar daleeidd commented on May 24, 2024

Thanks for reporting. I had bug report on Discord about this but looks like Discord automatically closed it due to inactivity.

Depth priming currently breaks the ODC. Will eventually fix this. Workaround is to disable it or disable and use depth cache baking then re-enable

Since then I have worked out that it is related to both depth priming and SSAO. I reported this to Unity and they confirmed a few bugs on their end. They gave me a solution but I could not get this to work with the ODC.

Workaround for now is to use a baked depth cache and to disable SSAO and/or depth priming when baking.

from crest.

klauskobald avatar klauskobald commented on May 24, 2024

My game is depending on a dynamic depth map. Wind direction is used to build underwater objects once in a while for generating areas with no waves. Can you please explain exactly how to disable/enable/populate during runtime? I tried but it does not work.
I cannot find how to turn off depth priming - is there a switch?
I cannot NOT ship prebaked maps!! I am currently building a terrain/harbour editor which depends on dynamic maps!

from crest.

daleeidd avatar daleeidd commented on May 24, 2024

You have to disable depth priming and/or SSAO in URP settings. I do not think it can be done at runtime or at least I do not know how.

from crest.

daleeidd avatar daleeidd commented on May 24, 2024

For anyone landing here, please vote on Unity Issue Tracker: https://issuetracker.unity3d.com/issues/depth-is-not-rendered-in-a-depth-only-camera-which-is-set-up-by-a-custom-script

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.