Giter Club home page Giter Club logo

Comments (6)

bigtimebuddy avatar bigtimebuddy commented on June 8, 2024

Please provide more details, example. This issue is insufficient.

from filters.

pzppzz avatar pzppzz commented on June 8, 2024

Please provide more details, example. This issue is insufficient.
Is that enough description now?

from filters.

bigtimebuddy avatar bigtimebuddy commented on June 8, 2024

Are you reporting a bug or do you need help? I don't understand your issue.

It's always useful to provide a running example, so that it's easier to diagnose your issue. What does the LUT look like that you're using?

from filters.

pzppzz avatar pzppzz commented on June 8, 2024

Are you reporting a bug or do you need help? I don't understand your issue.

It's always useful to provide a running example, so that it's easier to diagnose your issue. What does the LUT look like that you're using?

const colorMapFilter = new ColorMapFilter(lutImage, false, mix); this.colorMapFilter = colorMapFilter; this.sprite.filters = [colorMapFilter];
Lut image
cube
The same LUT image sometimes has different effects.
bug
Do you see this GIF image?
https://user-images.githubusercontent.com/89590352/187946222-dd641c19-1ffe-446f-9060-96c9609aa61b.gif

from filters.

bigtimebuddy avatar bigtimebuddy commented on June 8, 2024

Are you sure you have completely loaded the LUT before applying this? This seems like a race-condition where the image isn't fully loaded and the height is only getting maybe a value of 1, which would the the first blue pixel. That could create some issues for sure.

this._size = colorMap.height;

from filters.

pzppzz avatar pzppzz commented on June 8, 2024

Are you sure you have completely loaded the LUT before applying this? This seems like a race-condition where the image isn't fully loaded and the height is only getting maybe a value of 1, which would the the first blue pixel. That could create some issues for sure.

this._size = colorMap.height;

Thank you very much. My problem is solved.

from filters.

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.