Coder Social home page Coder Social logo

Comments (6)

nagadomi avatar nagadomi commented on July 23, 2024

GLSL version can be found at https://github.com/ueshita/waifu2x-converter-glsl .
However, waifu2x filter is very slow. I think waifu2x is not suitable for shader in game.

from waifu2x.

ADormant avatar ADormant commented on July 23, 2024

@nagadomi Okay I just found some optimized versions with AVX1/2 http://forum.videohelp.com/threads/372157-New-upscaling-algorithm-waifu2x .
https://github.com/lltcggie/waifu2x-caffe
https://github.com/MaverickTse/aviutl-waifu2x-gl
https://github.com/WL-Amigo/waifu2x-converter-cpp
Even if it is slow it's still worth it to give it a shot. RetroArch has dozens of different cores and not only gaming ones. Could you try to port it to RetroArch's shader spec?

from waifu2x.

nagadomi avatar nagadomi commented on July 23, 2024

I won't do it individually.

from waifu2x.

ADormant avatar ADormant commented on July 23, 2024

Then I understand there're some technical difficulties? Well, maybe someone will notice this issue and try.

from waifu2x.

leilei- avatar leilei- commented on July 23, 2024

realtime neural network scalers are no way feasible for gaming. At best it's for preprocessing textures not even at load time (like say, a replacement texture pack for upscaling drawn anime-style portaits in 2D PSP games, for example).

Also Waifu2x is not very good with pixel artwork. It's designed for repairing smooth and curvy manga strokes lost in resampling/compression. Applying it to pixel art will just give you mostly blockier pixels with a slight gradient to edged color blending.

from waifu2x.

ADormant avatar ADormant commented on July 23, 2024

Well look at that serration reduction. hrydgard/ppsspp#7796

from waifu2x.

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.