I can’t find any good filter for such purpose. Can you help, please?

  • someoneFromInternet@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 个月前

    Honestly, both. I just want to help my friend, that don’t have a lot of experience with renpy. If you can try I appreciate it.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      4
      ·
      10 个月前

      Well, I’ve never written any shader code. Python, yes. And as to Ren’Py, not anything of substance. So I’m probably not going to be the best person to give a step-by-step, but I can try to give a high-level of what I expect.

      The shaders I linked to above are written in GLSL. As far as I know, they’ll work in Ren’Py.

      The Ren’Py guys have documentation on using GLSL shaders in Ren’Py:

      https://www.renpy.org/doc/html/model.html#creating-a-custom-shader

      If he’s going to need help on the datatypes used by GLSL shaders, then he’s probably going to have to look at a “how to write shaders” tutorial.

      There might be some existing Ren’Py game out there that does use shaders, if what you’re hoping for is basically more of a black box. I have no idea how approachable that is.

      kagis

      It looks like this guy has written a shader that provides at least the interlacing and curvature effects that he’s distributing as Ren’Py source:

      https://devilspider.itch.io/crt-monitor-shader

      That might be sufficient, or if it’s not, it may provide enough of an example for your friend to hook another shader up to Ren’Py.