Code Monkey home page Code Monkey logo

Comments (4)

wizgrav avatar wizgrav commented on September 22, 2024

I've debugged a bit and It seems strange, even if I start the inspector without post processing and then do eg. a scene.setAttribute("effects", "bloom, fxaa") the post processing will take effect only after you revert to the non inspector scene.

My guess is that another scene is created and all components are serialized to it for the inspector. The effects attribute updates the system though. I'll need to consult @fernandojsg on this

from aframe-effects.

wizgrav avatar wizgrav commented on September 22, 2024

Ok I think I'm getting somewhere, scene.isPlaying is false in the inspector(scene is paused) so tick and tocks are not getting called it's not a new scene it's just that the scene is set up by the effects system to render on scene.renderTarget (when set rendering will happen to that instead of directly on the canvas). I need to find a way to get notified when play state changes to disable effects.

This means that post proc won't work in the inspector which is kindof a shame since the inspector would be great for tuning the effects. I'll bring it up in slack for discussion

from aframe-effects.

diegodorado avatar diegodorado commented on September 22, 2024

Any update o workaround on this issue?

from aframe-effects.

wizgrav avatar wizgrav commented on September 22, 2024

Yeah this needs some update, I was planning to do it along with the ssao effect which also is almost done but then life and changing countries and jobs put it on halt. I'll try to at least fix this and some more minor issues this w/e

from aframe-effects.

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.