Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Mirrored output when using pointShadowLight

    Bug Reporting (FUZE 4 Nintendo Switch)
    4
    10
    461
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mario.bodemann
      mario.bodemann F last edited by

      Hey,

      I added a point light with Shadow and got the editor screen mirrored. Great effect, sadly a bit too confusing for me:

      1 Reply Last reply Reply Quote 1
      • Dave
        Dave Fuze Team last edited by

        ... I am just impressed by this.

        I think we need a copy of that program!

        1 Reply Last reply Reply Quote 2
        • PB____
          PB____ last edited by

          At first I thought about the bug where you can copy the framebuffer to an image before the first call to update(), then this would be an too elaborate troll to include the error message, blinking cursor and the code is saved indication by Fuze :)

          Interesting bug :D

          1 Reply Last reply Reply Quote 1
          • mario.bodemann
            mario.bodemann F last edited by

            So I shared it under NZ6N3MND52.

            It is a highly work on progress app, please be gentle... ;-)

            You got to start the game, press a for starting and zr for going 3d, then it "crashes"... (Guessing setDrawTarget and shadow lights, but I know nothing)

            1 Reply Last reply Reply Quote 0
            • Martin
              Martin Fuze Team last edited by Martin

              Thanks for reporting. I've seen that error before and I know it was fixed in the past. So this is a regression unfortunately. Although of course it could now be getting caused by a different set of circumstances.

              1 Reply Last reply Reply Quote 1
              • Dave
                Dave Fuze Team last edited by

                Downloaded and ran it a few times, but it doesn't happen for me! I've also changed the pointShadowLight() values to the same as they are in your clip, but to no avail!

                1 Reply Last reply Reply Quote 0
                • mario.bodemann
                  mario.bodemann F last edited by

                  @Dave did you tap a and then zr? For me it crashes when I'm going into 3D 🤷‍♂️. (Sorry for not cleaning up the code to reproduce a simpler test case .... )

                  (Also: I have only tried undocked, maybe that's a difference?)

                  1 Reply Last reply Reply Quote 0
                  • PB____
                    PB____ last edited by PB____

                    I can reproduce this, running the program again, doesn't flip it back by the way :P

                    EDIT: it is correct that if you change pointShadowLight on line 262 to pointLight (without the resolution argument), makes the difference.
                    I've also noticed that the frame buffer does get copied at the start of the program, but it doesn't appear to have an effect if you leave that out (for instance by creating an empty image)

                    1 Reply Last reply Reply Quote 1
                    • Dave
                      Dave Fuze Team last edited by

                      Apologies @mario-bodemann I meant to reply to this! Yes, I can reproduce it now. It's now a reported bug and we're working on a fix :)

                      mario.bodemann 1 Reply Last reply Reply Quote 1
                      • mario.bodemann
                        mario.bodemann F @Dave last edited by

                        @Dave wohooo, thank you so much! Let me know if I can be "even more"😁 helpful.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post