Code Monkey home page Code Monkey logo

Comments (5)

keijiro avatar keijiro commented on August 19, 2024

Add a camera and rendekkr only the obll;ject by using culling mask, apply the effect, then compsite to the main camera output. This is a super inefficient approach (it coud waste lots of mem and gpu tiem). Nott recomended for practical use. If I were you, I'd think about creating anew effect hat is good at masking.

from kinoglitch.

keijiro avatar keijiro commented on August 19, 2024

I'm closing this issue. Please feel free to reopen for further questions.

from kinoglitch.

eisenbruch avatar eisenbruch commented on August 19, 2024

Thanks for replying. I am doing: Add a camera and render only the object by using culling mask,
But, I am not doing any extra step to: composite to the main camera output

Is that an extra step that's required? I confirmed both cameras are working because the object and the main camera view show up, but the effect on the object camera is over the entire screen, and not just the object.

from kinoglitch.

keijiro avatar keijiro commented on August 19, 2024

https://docs.unity3d.com/Manual/class-RenderTexture.html
https://docs.unity3d.com/ScriptReference/Camera-targetTexture.html
https://docs.unity3d.com/550/Documentation/Manual/script-ScreenOverlay.html

from kinoglitch.

eisenbruch avatar eisenbruch commented on August 19, 2024

Interesting. I'll give it a shot. Thanks!

from kinoglitch.

Related Issues (18)

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.