Unreal Engine - Realistic Portal Tutorial (2/4)

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 12

  • @BetaGamer215
    @BetaGamer215 ปีที่แล้ว

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

  • @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 8 หลายเดือนก่อน

      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

  • @pedinky293
    @pedinky293 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

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

  • @some.dudeidk
    @some.dudeidk 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.

    • @BridgesProductions2024
      @BridgesProductions2024 2 ปีที่แล้ว

      oof

    • @lordmaddog6003
      @lordmaddog6003 2 ปีที่แล้ว

      Did you ever get this to work my portals still overlap and I don't know why

    • @BridgesProductions2024
      @BridgesProductions2024 2 ปีที่แล้ว

      @@lordmaddog6003 I did.

    • @lordmaddog6003
      @lordmaddog6003 2 ปีที่แล้ว

      @@BridgesProductions2024 I did to I was using point instead of relitive orgin. lol

    • @BridgesProductions2024
      @BridgesProductions2024 2 ปีที่แล้ว

      @@lordmaddog6003 And that's amazing. Humans are good at problem solving.