Unreal Engine - Realistic Portal Tutorial (2/4)

Поділитися
Вставка
  • Опубліковано 19 вер 2021
  • Support the channel through donations. Crypto accepted!
    PayPal: paypal.me/reidschannel?locale...
    Patreon: / reidschannel
    Bitcoin: 1JFwWHr4X6uAeoZadukzqKjzFBj3Qjy7Sk
    Ethereum: 0x2B2Bc108F1Cc0fF899959dEF3226637787d8C3dE
    Dogecoin: DNQ33YnhpWoTBokBNVkZP5ub8KTLkpyjpv
    Join our community discord!
    Discord: / discord
    Portal Assets:
    www.dropbox.com/s/e4w4sfekwi9...
    C++ Tutorial:
    • Unreal Engine C++ Tuto...

КОМЕНТАРІ • 12

  • @BetaGamer215
    @BetaGamer215 10 місяців тому

    SceneCapture causes my frames to drop is there anyway to fix that

  • @pedinky293
    @pedinky293 2 роки тому

    hey reid, im having a problem with the clamp repositioning happening only at thew top and left of the wall not the bottom or right wont reposition and will go off the wall. i can send a pic thru discord if that would explain it better thanks!

    • @ReidsChannel
      @ReidsChannel  2 роки тому

      hey, i understand ur problem but its likely just a bug with ur clamping logic. Have you rewatched that part?

  • @UstedTubo187
    @UstedTubo187 2 роки тому +1

    You mentioned that you can't set the resolution of a render target at runtime in blueprints; however, you can create a render target at runtime in blueprints (CreateRenderTarget2D) and set the resolution at that time. This could be easily implemented into your existing code. You'd just have to assign those textures to the parameters in the material instances with blueprints once they're created rather than having them hard-coded beforehand as you showed in this video. Just in case anyone was "afraid" of C++, as you say. Haha!
    Admittedly, I haven't seen the part where you write the C++ yet (since that's in an upcoming video), so I don't know if you did anything else that would make my suggestion invalid. Also, most games are 1080p so hard-coding the render target resolution to 1080p wouldn't be the worst thing in the world. Plus, render targets can be mighty costly to performance so limiting that resolution would be a benefit anyway.
    EDIT: Having now watched the next video, I see that you are actually accounting for people changing the resolution of their window AFTER they have already begun playing. I was assuming that you were going to do an initial check for the player's screen resolution and setup the render target accordingly. While I enjoy being thorough in my coding and preparing for every contingency, I have to wonder how many players are actually changing their screen size once they've started playing. Seems like this could be safely omitted.

    • @vaanidel2117
      @vaanidel2117 Місяць тому

      As of the 5.4 preview (not sure about 5.1-5.3), you can resize a render target in blueprints at runtime as there is a function for it. I agree it doesn't seem strictly necessary, but I would probably still do it with a delegate, for when a player changes the resolution from the settings menu

  • @wavexwastaken
    @wavexwastaken 2 роки тому

    hey Reid! I'm trying to do this in ue4 but idk if it affects anything, but it doesnt seem to work correctly, on the last part of this tut you are positioning the portals correctly so they dont overlap, but it doesnt work for me. Please reply as quick as possible.