Giter Site home page Giter Site logo

Comments (4)

Fewes avatar Fewes commented on June 27, 2024

I recently started using URP myself, so I will commit to adding support to that at the very least. Stay tuned!

from bnao.

Fewes avatar Fewes commented on June 27, 2024

After investigating this, it seems adding URP support is currently not possible, as Camera.Render and Camera.RenderWithShader are not supported, with no replacement existing. I've made a thread on the Unity Forum for this topic which you can follow if you are interested on how it might develop: https://forum.unity.com/threads/replacement-for-camera-render-camera-renderwithshader.845854/

from bnao.

hybridherbst avatar hybridherbst commented on June 27, 2024

I replied on the forums with what the replacement for RenderWithShader is (Renderer Features). You could also make your own if you don't want to use the built-in RenderObjects, because then you could directly have the texture grab in the feature.

I'm not sure why that page states Camera.Render is not supported - I think I'm using that on URP just fine. Note that URP docs are notoriously incomplete and outdated...

from bnao.

Fewes avatar Fewes commented on June 27, 2024

From testing I am pretty confident that Camera.Render is not working in URP. I could not get it to output anything to my target texture, regardless of texture format or shader replacement setup.
I'm guessing the best way to support URP would be to bundle a custom Renderer Feature with BNAO but I'm a little unsure if it's possible to set up the camera completely from script. Might take a look at it in the future but I'll leave it open for now.

from bnao.

Related Issues (7)

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.